This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Thread states
- To: ecos-discuss at sources dot redhat dot com
- Subject: [ECOS] Thread states
- From: Paleologos Spanos <paleolog at ee dot ucla dot edu>
- Date: Tue, 9 Jan 2001 16:00:08 -0800 (PST)
Hi,I have a question regarding the state of thread.
-When a thread finishes its work what is its state? the "EXITED"?
The question is if the "exited" state is showing that the thread has
finished execution or it is the state after having exit(with the exit
function) the thread?
-If I want to stop the execution of a thread and then start it again from
the beggining again(not from the point it stopped) which
are the appropriate functions? exit and then resume,or kill and then
resume?
-Will this thread be present on the wait_queue of the bitmap
scheduler?(assuming that we have the bitmap scheduler)
Thank you for your interest in advance