diff options
Diffstat (limited to 'ACE/examples/APG/Timers/TimerDispatcher.h')
-rw-r--r-- | ACE/examples/APG/Timers/TimerDispatcher.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ACE/examples/APG/Timers/TimerDispatcher.h b/ACE/examples/APG/Timers/TimerDispatcher.h index 06ce42a8d8a..e587ab6fb05 100644 --- a/ACE/examples/APG/Timers/TimerDispatcher.h +++ b/ACE/examples/APG/Timers/TimerDispatcher.h @@ -2,9 +2,10 @@ #if !defined(TIMER_DISPATCHER_H) #define TIMER_DISPATCHER_H +#include "ace/Event.h" #include "ace/Event_Handler.h" #include "ace/Singleton.h" -#include "ace/Synch.h" // needed for ACE_Event +#include "ace/Synch_Traits.h" #include "ace/Timer_Queue.h" // Listing 1 code/ch20 @@ -31,7 +32,7 @@ private: ACE_Event timer_; }; -typedef ACE_Singleton<Timer_Dispatcher, ACE_Null_Mutex> Timer; +typedef ACE_Singleton<Timer_Dispatcher, ACE_SYNCH_NULL_MUTEX> Timer; // Listing 1 #endif /*TIMER_DISPATCHER_H*/ |