Question

If you have round robin scheduling enabled in VxWorks, and you use taskLock() to disable preemption, what happens when your timeslice expires?

Was it helpful?

Solution

When preemption is disabled via taskLock, the timeslice counter will not increment. Your timeslice will never expire until preemption is re-enabled.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top