From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paleologos Spanos To: ecos-discuss@sources.redhat.com Subject: [ECOS] Thread states Date: Fri, 13 Apr 2001 09:27:00 -0000 Message-id: X-SW-Source: 2001-04/msg00134.html Hi,I am working on eCos scheduler and I have a question concerning thread states.A preempted thread is in which state?the "Suspended"?If,yes then in which state is a thread which is just ready to start execution? Actually I want to have a discrimination between preempted threads and threads which are just beginn execution.So,for example when there is a context switch I want to identify if this thread(next) is a preempted thread which will continue its execution or it is a new thread which is just beginn execution.Can I do this screening by checking the thread states? If yes,which is the state for the threads in the 2 cases I mentioned? Does anyone know? Thank you.