diff options
author | alex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-04-11 21:02:29 +0000 |
---|---|---|
committer | alex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-04-11 21:02:29 +0000 |
commit | fce31e0554072b031933fe9fd1aab038bd6b5a87 (patch) | |
tree | 3e3f9dfa1ad301184565342e177a9e5bd37aa439 /performance-tests | |
parent | a09fe31d71a020ae97da2b68e9001bc208e9f221 (diff) | |
download | ATCD-fce31e0554072b031933fe9fd1aab038bd6b5a87.tar.gz |
Replaced ACE_MT_SYNCH by ACE_SYNCH to get it compile on Linux.
Diffstat (limited to 'performance-tests')
-rw-r--r-- | performance-tests/Misc/preempt.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/performance-tests/Misc/preempt.cpp b/performance-tests/Misc/preempt.cpp index e9aa3123512..f824ab17027 100644 --- a/performance-tests/Misc/preempt.cpp +++ b/performance-tests/Misc/preempt.cpp @@ -76,7 +76,7 @@ ACE_hrtime_t starttime; /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// -class High_Priority_Task : public ACE_Task<ACE_MT_SYNCH> +class High_Priority_Task : public ACE_Task<ACE_SYNCH> { public: High_Priority_Task (void); @@ -94,7 +94,7 @@ private: }; High_Priority_Task::High_Priority_Task (void) - : ACE_Task<ACE_MT_SYNCH> (ACE_Thread_Manager::instance ()), + : ACE_Task<ACE_SYNCH> (ACE_Thread_Manager::instance ()), priority_ (ACE_Sched_Params::next_priority ( ACE_SCHED_FIFO, ACE_Sched_Params::priority_min (ACE_SCHED_FIFO, @@ -189,7 +189,7 @@ High_Priority_Task::print_times () const /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// -class Low_Priority_Task : public ACE_Task<ACE_MT_SYNCH> +class Low_Priority_Task : public ACE_Task<ACE_SYNCH> { public: Low_Priority_Task (const High_Priority_Task &); @@ -204,7 +204,7 @@ private: Low_Priority_Task::Low_Priority_Task ( const High_Priority_Task &high_priority_task) - : ACE_Task<ACE_MT_SYNCH> (ACE_Thread_Manager::instance ()), + : ACE_Task<ACE_SYNCH> (ACE_Thread_Manager::instance ()), priority_ (ACE_Sched_Params::priority_min (ACE_SCHED_FIFO, ACE_SCOPE_THREAD)), high_priority_task_ (high_priority_task) |