public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Paleologos Spanos <paleolog@ee.ucla.edu>
To: ecos-discuss@sources.redhat.com
Subject: [ECOS]  Thread states
Date: Tue, 17 Apr 2001 12:46:00 -0000	[thread overview]
Message-ID: <Pine.GSO.4.10.10104171243550.3318-100000@sierra.ee.ucla.edu> (raw)

 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.


             reply	other threads:[~2001-04-17 12:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-17 12:46 Paleologos Spanos [this message]
2001-04-17 15:55 ` Jonathan Larmour
  -- strict thread matches above, loose matches on Subject: below --
2001-04-13  9:27 Paleologos Spanos
2001-04-12 14:28 Paleologos Spanos
2001-01-09 16:00 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.GSO.4.10.10104171243550.3318-100000@sierra.ee.ucla.edu \
    --to=paleolog@ee.ucla.edu \
    --cc=ecos-discuss@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).