[Ace-users] [ace-users] thread priority

Douglas C. Schmidt schmidt at dre.vanderbilt.edu
Wed Oct 24 18:29:28 CDT 2007


Hi,

>> Sure - but keep in mind that thread priorities only apply if there is
>> contention for the CPU, in which case the high priority thread runs
>> whereas the lower priority thread doesn't.  Since your machine is a
>> dual core there's no contention since both threads can run.
>
>What about three threads?

In the case of three threads on a dual-core machine the two highest
priority threads should run and the lowest priority thread should run
when the other threads are done.  Naturally, this analysis assumes
your OS honors thread priorities, which may or may not be the case
depending on OS-level factors outside the control of ACE.

Thanks,

        Doug
-- 
Dr. Douglas C. Schmidt                       Professor and Associate Chair
Electrical Engineering and Computer Science  TEL: (615) 343-8197
Vanderbilt University                        WEB: www.dre.vanderbilt.edu/~schmidt
Nashville, TN 37203                          NET: d.schmidt at vanderbilt.edu



More information about the Ace-users mailing list