summaryrefslogtreecommitdiff
path: root/ace/Timer_Queue_Adapters.h
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-20 02:34:57 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-20 02:34:57 +0000
commit5c1001ce4f585836e1f83c28d1df89aee42fb743 (patch)
tree5967e9ca7d44ed1d2823be9746817ebb8e025f5d /ace/Timer_Queue_Adapters.h
parent2ae14b2b85ad813a269e8a5529aa76cf984fa8a5 (diff)
downloadATCD-5c1001ce4f585836e1f83c28d1df89aee42fb743.tar.gz
changed include protection from #if !defined to ifndef, and added #pragma once, if possible
Diffstat (limited to 'ace/Timer_Queue_Adapters.h')
-rw-r--r--ace/Timer_Queue_Adapters.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/ace/Timer_Queue_Adapters.h b/ace/Timer_Queue_Adapters.h
index 74df493dd75..c19081646f3 100644
--- a/ace/Timer_Queue_Adapters.h
+++ b/ace/Timer_Queue_Adapters.h
@@ -18,12 +18,13 @@
# define ACE_TIMER_QUEUE_ADAPTERS_H
# include "ace/Task.h"
-# include "ace/Signal.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
+# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
+# include "ace/Signal.h"
+
template <class TQ>
class ACE_Export ACE_Async_Timer_Queue_Adapter : public ACE_Event_Handler
{
@@ -152,11 +153,11 @@ public:
# if defined (ACE_HAS_DEFERRED_TIMER_COMMANDS)
- int enqueue_command (ACE_Command_Base *command_,
+ int enqueue_command (ACE_Command_Base *command_,
COMMAND_ENQUEUE_POSITION pos = TAIL);
// Enqueues a command object for execution just before waiting on the next
// timer event. This allows deferred execution of commands that cannot
- // be performed in the timer event handler context, such as registering
+ // be performed in the timer event handler context, such as registering
// or cancelling timers on platforms where the timer queue mutex is not
// recursive.
@@ -167,7 +168,7 @@ private:
# if defined (ACE_HAS_DEFERRED_TIMER_COMMANDS)
int dispatch_commands (void);
- // Dispatches all command objects enqueued in the most
+ // Dispatches all command objects enqueued in the most
// recent event handler context.
ACE_Unbounded_Queue<ACE_Command_Base *> command_queue_;