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

Douglas C. Schmidt schmidt at dre.vanderbilt.edu
Tue Oct 23 21:25:41 CDT 2007


>Sorry,It`s Priorities.cpp.

Ok, that's what I thought.

>> Is your machine a dual core?

Ok, then that explains the behavior.

>Can i use thread priority on my machine?

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.

Take care,

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