This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
eCos scheduler
- From: "Meulendijks, J." <Meulendijks at WT dot TNO dot NL>
- To: "'ecos-discuss at sources dot redhat dot com'" <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 11 Nov 2004 13:13:14 +0100
- Subject: [ECOS] 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