summaryrefslogtreecommitdiff
path: root/ACE/ace/Reactor.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2010-02-04 09:57:42 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2010-02-04 09:57:42 +0000
commit99b45dfa6d40758ac8a8ae3c857d0448817c8298 (patch)
treecd462268da0f97943323b3ba2772d2b087c27649 /ACE/ace/Reactor.cpp
parent8189ac17a47e0d5d36697c13d064bc135787e236 (diff)
downloadATCD-99b45dfa6d40758ac8a8ae3c857d0448817c8298.tar.gz
Thu Feb 3 09:57:30 UTC 2010 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Atomic_Op.inl: Added support for the GCC Atomic Builtins, if you want to use these, add ACE_HAS_GCC_ATOMIC_BUILTINS defined as 1 in your config file * ace/Reactor.cpp: * ace/Select_Reactor_Base.cpp: Layout changes * ace/Reactor.h: Doxygen change
Diffstat (limited to 'ACE/ace/Reactor.cpp')
-rw-r--r--ACE/ace/Reactor.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/ACE/ace/Reactor.cpp b/ACE/ace/Reactor.cpp
index ed9d70be269..8b8be61d4df 100644
--- a/ACE/ace/Reactor.cpp
+++ b/ACE/ace/Reactor.cpp
@@ -477,7 +477,9 @@ ACE_Reactor::notify (ACE_Event_Handler *event_handler,
// First, try to remember this reactor in the event handler, in case
// the event handler goes away before the notification is delivered.
if (event_handler != 0 && event_handler->reactor () == 0)
- event_handler->reactor (this);
+ {
+ event_handler->reactor (this);
+ }
return this->implementation ()->notify (event_handler, mask, tv);
}