diff options
Diffstat (limited to 'ace/Timer_Hash.h')
-rw-r--r-- | ace/Timer_Hash.h | 45 |
1 files changed, 23 insertions, 22 deletions
diff --git a/ace/Timer_Hash.h b/ace/Timer_Hash.h index 2fbe0f80428..6d9b73740ca 100644 --- a/ace/Timer_Hash.h +++ b/ace/Timer_Hash.h @@ -5,67 +5,68 @@ // // = LIBRARY // ace -// +// // = FILENAME // Timer_Hash.h // // = AUTHOR // Darrell Brunsch <brunsch@cs.wustl.edu> -// +// // ============================================================================ #ifndef ACE_TIMER_HASH_H #define ACE_TIMER_HASH_H #include "ace/Timer_Hash_T.h" -#include "ace/Timer_Heap_T.h" -#include "ace/Timer_List_T.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) -#pragma once +# pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ -// The following typedef are here for ease of use +#include "ace/Timer_Heap_T.h" +#include "ace/Timer_List_T.h" -typedef ACE_Timer_Hash_Upcall <ACE_Event_Handler *, +// The following typedef are here for ease of use + +typedef ACE_Timer_Hash_Upcall <ACE_Event_Handler *, ACE_Event_Handler_Handle_Timeout_Upcall<ACE_SYNCH_RECURSIVE_MUTEX>, ACE_SYNCH_RECURSIVE_MUTEX> ACE_Hash_Upcall; -typedef ACE_Timer_List_T <ACE_Event_Handler *, +typedef ACE_Timer_List_T <ACE_Event_Handler *, ACE_Hash_Upcall, ACE_Null_Mutex> ACE_Hash_Timer_List; -typedef ACE_Timer_Heap_T <ACE_Event_Handler *, +typedef ACE_Timer_Heap_T <ACE_Event_Handler *, ACE_Hash_Upcall, ACE_Null_Mutex> ACE_Hash_Timer_Heap; -typedef ACE_Timer_Hash_T<ACE_Event_Handler *, - ACE_Event_Handler_Handle_Timeout_Upcall<ACE_SYNCH_RECURSIVE_MUTEX>, +typedef ACE_Timer_Hash_T<ACE_Event_Handler *, + ACE_Event_Handler_Handle_Timeout_Upcall<ACE_SYNCH_RECURSIVE_MUTEX>, ACE_SYNCH_RECURSIVE_MUTEX, ACE_Hash_Timer_List> - - ACE_Timer_Hash; -typedef ACE_Timer_Hash_Iterator_T<ACE_Event_Handler *, - ACE_Event_Handler_Handle_Timeout_Upcall<ACE_SYNCH_RECURSIVE_MUTEX>, + ACE_Timer_Hash; + +typedef ACE_Timer_Hash_Iterator_T<ACE_Event_Handler *, + ACE_Event_Handler_Handle_Timeout_Upcall<ACE_SYNCH_RECURSIVE_MUTEX>, ACE_SYNCH_RECURSIVE_MUTEX, ACE_Hash_Timer_List> - ACE_Timer_Hash_Iterator; + ACE_Timer_Hash_Iterator; -typedef ACE_Timer_Hash_T<ACE_Event_Handler *, - ACE_Event_Handler_Handle_Timeout_Upcall<ACE_SYNCH_RECURSIVE_MUTEX>, +typedef ACE_Timer_Hash_T<ACE_Event_Handler *, + ACE_Event_Handler_Handle_Timeout_Upcall<ACE_SYNCH_RECURSIVE_MUTEX>, ACE_SYNCH_RECURSIVE_MUTEX, ACE_Hash_Timer_Heap> - ACE_Timer_Hash_Heap; + ACE_Timer_Hash_Heap; -typedef ACE_Timer_Hash_Iterator_T<ACE_Event_Handler *, - ACE_Event_Handler_Handle_Timeout_Upcall<ACE_SYNCH_RECURSIVE_MUTEX>, +typedef ACE_Timer_Hash_Iterator_T<ACE_Event_Handler *, + ACE_Event_Handler_Handle_Timeout_Upcall<ACE_SYNCH_RECURSIVE_MUTEX>, ACE_SYNCH_RECURSIVE_MUTEX, ACE_Hash_Timer_Heap> - ACE_Timer_Hash_Heap_Iterator; + ACE_Timer_Hash_Heap_Iterator; #endif /* ACE_TIMER_HASH_H */ |