This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Query about eCos scheduler
- From: "mohanlal jangir" <mohanlaljangir at hotmail dot com>
- To: "Ravi Joshi" <ravijoshi at operamail dot com>,"Nick Garnett" <nickg at ecoscentric dot com>
- Cc: <ecos-discuss at sources dot redhat dot com>
- Date: Sat, 13 Sep 2003 09:24:22 +0530
- Subject: Re: [ECOS] Query about eCos scheduler
- References: <20030911133603.20239.qmail@operamail.com> <m38you2lw3.fsf@miso.calivar.com>
> > 4. Anybody has clue on what happens if user tries to run multiple
> > threads on the same priority with MLQ scheduler? Which thread will
> > get to run first and when will the other threads run? this is
> > because all threads have the same priority and scheduler can
> > schedule only one thread at a time.
> >
>
> The threads will be run in the order in which they were created. If
> timeslicing is enabled then the scheduler will switch to the next
> thread at each timeslice point.
>
Does it mean, if timeslicing is not enabled then only first created thread
will run and others do not run at all?
Regards
Mohanlal
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss