summaryrefslogtreecommitdiff
path: root/ACE/ace/TP_Reactor.cpp
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2011-06-29 20:51:48 +0000
committerSteve Huston <shuston@riverace.com>2011-06-29 20:51:48 +0000
commitcefbb7732e60ff1e2e42c764240eceb95bf05251 (patch)
tree0b9636d9b146925372606502f1cfec88addd5252 /ACE/ace/TP_Reactor.cpp
parentfd90ae9a00b4194e0b096c26d43461d539361828 (diff)
downloadATCD-cefbb7732e60ff1e2e42c764240eceb95bf05251.tar.gz
ChangeLogTag:Wed Jun 29 20:47:33 UTC 2011 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'ACE/ace/TP_Reactor.cpp')
-rw-r--r--ACE/ace/TP_Reactor.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/ACE/ace/TP_Reactor.cpp b/ACE/ace/TP_Reactor.cpp
index b917c0ed973..bd0a7c12884 100644
--- a/ACE/ace/TP_Reactor.cpp
+++ b/ACE/ace/TP_Reactor.cpp
@@ -161,7 +161,10 @@ ACE_TP_Reactor::handle_events (ACE_Time_Value *max_wait_time)
// After getting the lock just just for deactivation..
if (this->deactivated_)
- return -1;
+ {
+ errno = ESHUTDOWN;
+ return -1;
+ }
// Update the countdown to reflect time waiting for the token.
countdown.update ();