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]

Re: Unique priorities


>>>>> "Paleologos" == Paleologos Spanos <paleolog@ee.ucla.edu> writes:
Paleologos> mlqueues default scheduler).  I would expect that I would
Paleologos> have an error or something like that because of the fact
Paleologos> that the 2 threads are having the same priority (4).Is it
Paleologos> correct or I have misunderstood something?

The bitmap scheduler will assign a thread the closest possible
priority to that requested. It does not fail if the requested priority
is already used, it just returns another. So your threads would
probably have priorities 4 and 5.

Jesper

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