summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2007-11-30 22:12:33 +0000
committerSteve Huston <shuston@riverace.com>2007-11-30 22:12:33 +0000
commit53a899262d0013841524801cd3c55f05c90fae6a (patch)
tree61150b46fce7b757f949aef5a087e3857a2501b3
parent2f8224491e1555a68d7ba46b80b5a34fd02134c4 (diff)
downloadATCD-53a899262d0013841524801cd3c55f05c90fae6a.tar.gz
ChangeLogTag:Fri Nov 30 22:11:32 UTC 2007 Steve Huston <shuston@riverace.com>
-rw-r--r--ACE/ChangeLog5
-rw-r--r--ACE/ace/WFMO_Reactor.h7
2 files changed, 12 insertions, 0 deletions
diff --git a/ACE/ChangeLog b/ACE/ChangeLog
index a4b38549b5c..57a8b8cbb9b 100644
--- a/ACE/ChangeLog
+++ b/ACE/ChangeLog
@@ -1,3 +1,8 @@
+Fri Nov 30 22:11:32 UTC 2007 Steve Huston <shuston@riverace.com>
+
+ * ace/WFMO_Reactor.h: Clarify that only the owner thread can expire
+ timers and wait on the notifications handle.
+
Fri Nov 30 21:53:15 UTC 2007 Steve Huston <shuston@riverace.com>
* tests/Reactor_Notify_Test.cpp: Added a test to verify that a quiet
diff --git a/ACE/ace/WFMO_Reactor.h b/ACE/ace/WFMO_Reactor.h
index a0937ef5bc8..da7ccdefe48 100644
--- a/ACE/ace/WFMO_Reactor.h
+++ b/ACE/ace/WFMO_Reactor.h
@@ -640,6 +640,13 @@ private:
* use the DONT_CALL flag with remove_handler(). Preferably, use dynamically
* allocated event handlers and call "delete this" inside the handle_close()
* hook method.
+ *
+ * Note that although multiple threads can concurrently run the
+ * ACE_WFMO_Reactor event loop, the concept of the reactor "owner" is still
+ * important. Only the owner thread can expire timers and wait on the
+ * notifications handle. Thus, be careful to properly set the owner thread
+ * when spawning threads to run the event loop while you are using timers
+ * or notifications.
*/
class ACE_Export ACE_WFMO_Reactor : public ACE_Reactor_Impl
{