diff options
-rw-r--r-- | ace/Task_T.h | 3 | ||||
-rw-r--r-- | examples/Reactor/ReactorEx/test_reactorEx.cpp | 4 | ||||
-rw-r--r-- | examples/Reactor/WFMO_Reactor/test_reactorEx.cpp | 4 |
3 files changed, 4 insertions, 7 deletions
diff --git a/ace/Task_T.h b/ace/Task_T.h index 27f5b7d144f..9549a05b90b 100644 --- a/ace/Task_T.h +++ b/ace/Task_T.h @@ -37,9 +37,6 @@ class ACE_Task : public ACE_Task_Base friend class ACE_Module<ACE_SYNCH_2>; friend class ACE_Module_Type; public: - // Trait. - typedef ACE_SYNCH_2 SYNCH; - // = Initialization/termination methods. ACE_Task (ACE_Thread_Manager *thr_mgr = 0, ACE_Message_Queue<ACE_SYNCH_2> *mq = 0); diff --git a/examples/Reactor/ReactorEx/test_reactorEx.cpp b/examples/Reactor/ReactorEx/test_reactorEx.cpp index 1a033eae434..334cfce80aa 100644 --- a/examples/Reactor/ReactorEx/test_reactorEx.cpp +++ b/examples/Reactor/ReactorEx/test_reactorEx.cpp @@ -142,8 +142,8 @@ Peer_Handler::Peer_Handler (int argc, char *argv[]) // This code sets up the message to notify us when a new message is // added to the queue. Actually, the queue notifies ReactorEx which // then notifies us. - ACE_Message_Queue<Peer_Handler::SYNCH>* mq; - ACE_NEW (mq, ACE_Message_Queue<Peer_Handler::SYNCH>); + ACE_Message_Queue<ACE_MT_SYNCH>* mq; + ACE_NEW (mq, ACE_Message_Queue<ACE_MT_SYNCH>); mq->notification_strategy (&this->strategy_); this->msg_queue (mq); diff --git a/examples/Reactor/WFMO_Reactor/test_reactorEx.cpp b/examples/Reactor/WFMO_Reactor/test_reactorEx.cpp index 1a033eae434..334cfce80aa 100644 --- a/examples/Reactor/WFMO_Reactor/test_reactorEx.cpp +++ b/examples/Reactor/WFMO_Reactor/test_reactorEx.cpp @@ -142,8 +142,8 @@ Peer_Handler::Peer_Handler (int argc, char *argv[]) // This code sets up the message to notify us when a new message is // added to the queue. Actually, the queue notifies ReactorEx which // then notifies us. - ACE_Message_Queue<Peer_Handler::SYNCH>* mq; - ACE_NEW (mq, ACE_Message_Queue<Peer_Handler::SYNCH>); + ACE_Message_Queue<ACE_MT_SYNCH>* mq; + ACE_NEW (mq, ACE_Message_Queue<ACE_MT_SYNCH>); mq->notification_strategy (&this->strategy_); this->msg_queue (mq); |