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]

eCos scheduler


Hi all,

I have a question about time slicing. When I create two threads (A and B) the
scheduler will first run thread A (for example) and if thread A has nothing to
do any more thread B is executed. But when thread A always has something to do
thread B will never be executed! Why?
I have enabled the mlqueue scheduler, both A and B have priority 4 and time
slicing is enabled.
Can you give me the steps which has to be taken to make eCos preemptive? Maybe
I'm missing something.
Thanks in advance.

Jeroen

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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