public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Thread states
@ 2001-01-09 16:00 Paleologos Spanos
  2001-01-09 16:55 ` Jonathan Larmour
  0 siblings, 1 reply; 9+ messages in thread
From: Paleologos Spanos @ 2001-01-09 16:00 UTC (permalink / raw)
  To: ecos-discuss

 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

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [ECOS] Thread states
@ 2001-04-12 14:28 Paleologos Spanos
  0 siblings, 0 replies; 9+ messages in thread
From: Paleologos Spanos @ 2001-04-12 14:28 UTC (permalink / raw)
  To: ecos-discuss

 Hi,I am working on eCos scheduler and I have a question concerning thread
states.A preempted thread is in which state?the "Suspended"?

  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.

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [ECOS] Thread states
@ 2001-04-13  9:27 Paleologos Spanos
  0 siblings, 0 replies; 9+ messages in thread
From: Paleologos Spanos @ 2001-04-13  9:27 UTC (permalink / raw)
  To: ecos-discuss

 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.


^ permalink raw reply	[flat|nested] 9+ messages in thread
* [ECOS]  Thread states
@ 2001-04-17 12:46 Paleologos Spanos
  2001-04-17 15:55 ` Jonathan Larmour
  0 siblings, 1 reply; 9+ messages in thread
From: Paleologos Spanos @ 2001-04-17 12:46 UTC (permalink / raw)
  To: ecos-discuss

 Hi,I am working on eCos scheduler and I have a question concerning thread
states.A preempted thread is in which state?the "Suspended"?Which is the
state of a thread which has finished execution?thr "Exited"?

  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.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2001-04-17 15:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-09 16:00 [ECOS] Thread states Paleologos Spanos
2001-01-09 16:55 ` Jonathan Larmour
2001-01-10  0:17   ` Paleologos Spanos
2001-01-10  3:30     ` Nick Garnett
2001-01-10  9:08     ` Jonathan Larmour
2001-04-12 14:28 Paleologos Spanos
2001-04-13  9:27 Paleologos Spanos
2001-04-17 12:46 Paleologos Spanos
2001-04-17 15:55 ` Jonathan Larmour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).