This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Query about eCos scheduler


> > 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]