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

Douglas C. Schmidt schmidt at dre.vanderbilt.edu
Tue Oct 23 20:57:43 CDT 2007


Hi Joe,

>Subject: nonblock io
>ACE VERSION: 5.5.10
>HOST MACHINE and OPERATING SYSTEM:    winxp
>COMPILER NAME AND VERSION (AND PATCHLEVEL): g++
>THE $ACE_ROOT/ace/config.h FILE : #include "ace/config-win32.h"
>THE $ACE_ROOT/include/makeinclude/platform_macros.GNU
>FILE :platform_macros.GNU
>DESCRIPTION: the example in $ACE_ROOT/example/APG/ThreadManagement/
>Priority.cpp.

There is no file called "Priority.cpp" in that directory.  Do you mean
"Priorities.cpp" instead?

>some time it print:
>(940) starting up LowPriority
>(1628) starting up HighPriority
>(1628) Processing message HighPriority
>(1628) Processing message HighPriority
>........
>(940) Processing message LowPriority
>(940) Processing message LowPriority
>.......
>
>some time print:
>(2892) starting up HighPriority
>(608) starting up LowPriority
>(2892) Processing message HighPriority
>(608) Processing message LowPriority
>.......
>(2892) Processing message HighPriority
>(608) Processing message LowPriority
>
>
>Why?

Is your machine a dual core?

Take care,

     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