summaryrefslogtreecommitdiff
path: root/ACE/ace/Select_Reactor_Base.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/Select_Reactor_Base.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/Select_Reactor_Base.cpp')
-rw-r--r--ACE/ace/Select_Reactor_Base.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/ACE/ace/Select_Reactor_Base.cpp b/ACE/ace/Select_Reactor_Base.cpp
index 2c45a7ce0ff..d6d90752655 100644
--- a/ACE/ace/Select_Reactor_Base.cpp
+++ b/ACE/ace/Select_Reactor_Base.cpp
@@ -691,7 +691,9 @@ ACE_Select_Reactor_Notify::notify (ACE_Event_Handler *event_handler,
ACE_Event_Handler_var safe_handler (event_handler);
if (event_handler)
- event_handler->add_reference ();
+ {
+ event_handler->add_reference ();
+ }
ACE_Notification_Buffer buffer (event_handler, mask);
@@ -718,7 +720,9 @@ ACE_Select_Reactor_Notify::notify (ACE_Event_Handler *event_handler,
sizeof buffer,
timeout);
if (n == -1)
- return -1;
+ {
+ return -1;
+ }
// No failures.
safe_handler.release ();