diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-07-21 10:06:28 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-07-21 10:06:28 +0000 |
commit | bed5b09d2bc9660bb07269d1c0515d2e7995f6cb (patch) | |
tree | 62003d1cf6be5d3e18bead66bb1e7e6fcb292c4e /ace/WFMO_Reactor.i | |
parent | bf9e39058ab7bed751c01244b464c1d919203106 (diff) | |
download | ATCD-bed5b09d2bc9660bb07269d1c0515d2e7995f6cb.tar.gz |
ChangeLogTag:Wed Jul 21 04:32:20 1999 Nanbor Wang <nanbor@cs.wustl.edu>
Diffstat (limited to 'ace/WFMO_Reactor.i')
-rw-r--r-- | ace/WFMO_Reactor.i | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ace/WFMO_Reactor.i b/ace/WFMO_Reactor.i index ec27a225fb6..3a4215119be 100644 --- a/ace/WFMO_Reactor.i +++ b/ace/WFMO_Reactor.i @@ -821,6 +821,19 @@ ACE_WFMO_Reactor::alertable_handle_events (ACE_Time_Value *how_long) } ACE_INLINE int +ACE_WFMO_Reactor::deactivated (void) +{ + return this->deactivated_; +} + +ACE_INLINE void +ACE_WFMO_Reactor::deactivate (int do_stop) +{ + this->deactivated_ = do_stop; + this->wakeup_all_threads (); +} + +ACE_INLINE int ACE_WFMO_Reactor::owner (ACE_thread_t *t) { ACE_GUARD_RETURN (ACE_Process_Mutex, ace_mon, this->lock_, -1); |