Hi Long,
>I have created an object derived from ACE_Task_Base class. When
>activate() is called, I would like my thread to run with the lower
>priority comparing to my current process.
>In my ACE book, it shows an example of how to change the priority by
>calling:
>activate(THR_NEW_LWP|THR_JOINABLE,1,1, ACE_THR_PRI_OTHER_MIN)
>The thing is this call does not work (ACE_THR_PRI_OTHER_MIN does not
>exist!) and I don't know what to do now.
>
>Any suggestion would be appreciated
To ensure that we have proper version/platform/compiler information,
please make sure you fill out the appropriate problem report form
(PRF), which is in
$ACE_ROOT/PROBLEM-REPORT-FORM
$TAO_ROOT/PROBLEM-REPORT-FORM
or in
$ACE_ROOT/BUG-REPORT-FORM
$TAO_ROOT/BUG-REPORT-FORM
in older versions of ACE+TAO. Make sure to include this information
when asking any questions about ACE+TAO since otherwise we have to
"guess" what version/platform/compiler/options you've using, which is
very error-prone and slows down our responsiveness. If you don't use
the PRF, therefore, it is less likely that someone from the core
ACE+TAO developer team will be able to answer your question.
Naturally, we encourage and appreciate other members of the ACE+TAO
user community who can respond to questions that they have the answers
to.
Please note, moreover, that the DOC group at Vanderbilt University
only provides "best effort" support for non-sponsors who are using the
latest release, as described in
http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE/docs/ACE-bug-process.html
Therefore, please make sure you are using ACE+TAO+CIAO x.7.7 (i.e., ACE
5.7.7, TAO 1.7.7, and CIAO 0.7.7), which you can download from
http://download.dre.vanderbilt.edu
under the heading: "Latest Micro Release Kit". If you need more
"predictable" help or need help for earlier versions of ACE+TAO+CIAO
please see
http://www.dre.vanderbilt.edu/support.html
for a list of companies that will provide you with ACE+TAO+CIAO
commercial support.
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@vanderbilt.edu
|