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 | 96c3e9ef1bffabc52d3848c43790dacd8e65497e (patch) | |
tree | 62003d1cf6be5d3e18bead66bb1e7e6fcb292c4e /ace/WFMO_Reactor.i | |
parent | 6d1c286aa59a8665c741c89b3b8760327763238e (diff) | |
download | ATCD-96c3e9ef1bffabc52d3848c43790dacd8e65497e.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); |