This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Thread states
- To: Paleologos Spanos <paleolog at ee dot ucla dot edu>
- Subject: Re: [ECOS] Thread states
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Wed, 10 Jan 2001 17:08:26 +0000
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <Pine.GSO.4.10.10101100009230.19243-100000@sierra.ee.ucla.edu>
Paleologos Spanos wrote:
> >
> > > -Will this thread be present on the wait_queue of the bitmap
> > > scheduler?(assuming that we have the bitmap scheduler)
> >
> > At what point?
> >
> From what I have understood ,the wait_queue is a number of bits with
> every bit to represent a specific thread which is on the scheduler.So
> every bit is 1 if the corresponding thread is waiting for execution or 0
> if it has finished(EXITED state).Is this correct?
> So,in my previous mail I was asking if after a thread has completed its
> execution ,will the corresponding bit on the wait_queue become 0.
Yes.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Un cheval, pas du glue. Pas du cheval, beaucoup du glue. || Opinions==mine