View Single Post
  #19   Spotlight this post!  
Unread 31-03-2010, 00:36
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,083
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
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:
Originally Posted by Ether View Post
I'm still wondering if "cuts in the queue" includes not only "going to the head of the line" in the queue, but also preempting a presently-running lower-priority task.
Answer: YES. When a higher-priority task becomes ready to run it will preempt a presently-running lower-priority task.

Quote:
Originally Posted by Ether View Post
I'm also wondering how the 2010 FRC LabVIEW framework handles what I will call the "standard form" periodic tasks, i.e. like the default templates provided in the framework periodic vi. Does LabVIEW set them up with the same priority?
Answer: YES.

Quote:
Originally Posted by Ether View Post
...And if so, does the OS preemptively time-slice-multitask all equal-priority tasks, or is the multitasking strictly cooperative (in the "standard form").
Answer: The vxworks RTOS preemptively time-slice-multitasks all tasks of the same priority. In addition, tasks can cooperatively give up their time-slice when waiting for resources.




~
Reply With Quote