Restore build on FreeBSD.
[getmangos.git] / dep / ACE_wrappers / ace / Timer_Queue.h
blob4644aa1b43dd82cbf4149b987481d8b2c2668889
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file Timer_Queue.h
7 * $Id: Timer_Queue.h 80826 2008-03-04 14:51:23Z wotte $
9 * @author Douglas C. Schmidt <schmidt@cs.wustl.edu>
10 * @author Irfan Pyarali <irfan@cs.wustl.edu>
12 //=============================================================================
14 #ifndef ACE_TIMER_QUEUE_H
15 #define ACE_TIMER_QUEUE_H
17 #include /**/ "ace/pre.h"
19 #include "ace/Synch_Traits.h"
21 #if !defined (ACE_LACKS_PRAGMA_ONCE)
22 # pragma once
23 #endif /* ACE_LACKS_PRAGMA_ONCE */
25 #include "ace/Timer_Queuefwd.h"
26 #include "ace/Timer_Queue_T.h"
27 #if defined (ACE_HAS_THREADS)
28 # include "ace/Recursive_Thread_Mutex.h"
29 #else
30 # include "ace/Null_Mutex.h"
31 #endif /* ACE_HAS_THREADS */
33 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
35 // The following typedef are here for ease of use and backward
36 // compatibility.
37 typedef ACE_Timer_Node_Dispatch_Info_T<ACE_Event_Handler *>
38 ACE_Timer_Node_Dispatch_Info;
40 typedef ACE_Timer_Node_T<ACE_Event_Handler *>
41 ACE_Timer_Node;
43 typedef ACE_Timer_Queue_Iterator_T<ACE_Event_Handler *,
44 ACE_Event_Handler_Handle_Timeout_Upcall<ACE_SYNCH_RECURSIVE_MUTEX>,
45 ACE_SYNCH_RECURSIVE_MUTEX>
46 ACE_Timer_Queue_Iterator;
48 ACE_END_VERSIONED_NAMESPACE_DECL
50 #include /**/ "ace/post.h"
52 #endif /* ACE_TIMER_QUEUE_H */