summaryrefslogtreecommitdiff
path: root/ace/Timer_Queue_Adapters.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2002-06-18 20:15:00 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2002-06-18 20:15:00 +0000
commit189dc370ae3a7bb8668c71e89b829e89d9a28d61 (patch)
tree5f636fd954758b80d00841c7ae39651040bfa707 /ace/Timer_Queue_Adapters.cpp
parentab4d20786de683f9223b37c8caa45c4c72874227 (diff)
downloadATCD-189dc370ae3a7bb8668c71e89b829e89d9a28d61.tar.gz
ChangeLogTag:Tue Jun 18 14:29:26 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
Diffstat (limited to 'ace/Timer_Queue_Adapters.cpp')
-rw-r--r--ace/Timer_Queue_Adapters.cpp13
1 files changed, 4 insertions, 9 deletions
diff --git a/ace/Timer_Queue_Adapters.cpp b/ace/Timer_Queue_Adapters.cpp
index 30e159d63e2..9ff992dfb39 100644
--- a/ace/Timer_Queue_Adapters.cpp
+++ b/ace/Timer_Queue_Adapters.cpp
@@ -293,18 +293,13 @@ ACE_Thread_Timer_Queue_Adapter<TQ>::enqueue_command (ACE_Command_Base *cmd,
this->command_mutex_, -1);
if (pos == ACE_Thread_Timer_Queue_Adapter<TQ>::TAIL)
- {
- return command_queue_.enqueue_tail (cmd);
- }
+ return command_queue_.enqueue_tail (cmd);
else
- {
- return command_queue_.enqueue_head (cmd);
- }
+ return command_queue_.enqueue_head (cmd);
}
-
-// Dispatches all command objects enqueued in the most
-// recent event handler context.
+// Dispatches all command objects enqueued in the most recent event
+// handler context.
template<class TQ> int
ACE_Thread_Timer_Queue_Adapter<TQ>::dispatch_commands (void)