|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#16
|
|||
|
|||
|
Re: periodic tasks in autonomous independent
For simplicity, the LV queue has been described generically as a Queue. In reality, it is implemented as a priority Q. OS threads are lazily allocated to service the head of each priority in use -- by default a few threads per CPU core per priority in use. This means that if tasks at different priorities become available, the OS scheduler is aware of the requests and will schedule accordingly.
Not being on the VxWorks RT team, I can't say exactly how the threads were created or how the Queue is implemented for the OS. I can't say exactly how VxWorks is expected to behave in the case of competing priorities, inversions, etc. So, I'm being vague about the implementations I don't know in great detail. If I had a cRIO available, I could write tests that measure the response, however. Greg McKaskle |
|
#17
|
||||
|
||||
|
Re: periodic tasks in autonomous independent
Quote:
~ |
|
#18
|
|||||
|
|||||
|
Re: periodic tasks in autonomous independent
It definitely gets much quieter, but some of us are here year round.
|
|
#19
|
||||
|
||||
|
Re: periodic tasks in autonomous independent
I'm going to go ahead and answer my own questions here, based on what I've learned since my questions were posted, for the benefit of any other readers who may have been wanting the answers to the same questions.
Caveat: Don't take my word as authoritative. And a note to gurus: If I get any of this wrong please slap me upside the head: Quote:
Quote:
Quote:
~ |
|
#20
|
|||
|
|||
|
Re: periodic tasks in autonomous independent
A+ on the quiz.
Greg McKaskle |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| global variables and autonomous independent | Team1824 | NI LabVIEW | 10 | 19-02-2010 23:00 |
| Autonomous Mode, Independent, Iterative (?) | FRC2669_Valery | General Forum | 4 | 18-02-2010 09:50 |
| Autonomous Independent Code Issue Watchdog not fed | pilum40 | FRC Control System | 0 | 11-02-2010 12:00 |
| Periodic Tasks | Luke Pike | NI LabVIEW | 1 | 04-02-2009 01:14 |
| Using Sensors in Autonomous Independent | Felipe Sagui | NI LabVIEW | 2 | 27-01-2009 17:25 |