Locked tasks
Chris Johns
cjohns at cybertec.com.au
Tue Jun 3 23:49:53 UTC 2003
Angelo Fraietta wrote:
> If two tasks have the same priority and one of them goes into a locked
> up state, such as a while loop, will the other task get scheduled again
> if the locked task does not specifically relinquish? What I believe is
> happening is that my termios task is getting locked out at the write but
> preventing my other task of equal priority to run.
>
> Is there a way to use timeslices so a task never gets all cpu usage?
>
The classic API has a timeslice option. I am not sure about the POSIX or ITRON APIs.
Check the task modes for the 'rtems_task_create' call.
--
Chris Johns, cjohns at cybertec . com . au
More information about the users
mailing list