Locked tasks

Angelo Fraietta angelo_f at bigpond.com
Tue Jun 3 23:42:41 UTC 2003


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?

-- 
Angelo Fraietta

PO Box 859
Hamilton NSW 2303

Home Page


http://www.users.bigpond.com/angelo_f/

There are those who seek knowledge for the sake of knowledge - that is CURIOSITY
There are those who seek knowledge to be known by others - that is VANITY
There are those who seek knowledge in order to serve - that is LOVE
    Bernard of Clairvaux (1090 - 1153)






More information about the users mailing list