diff options
author | bala <balanatarajan@users.noreply.github.com> | 2001-08-24 20:00:29 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 2001-08-24 20:00:29 +0000 |
commit | 0cfb869cb78c4c5b2f038425ff7822906e4bbd32 (patch) | |
tree | a1aa0753b23bd5a816e644303d5c58c403bde203 | |
parent | 71cc929a8f4f3432299b80dc5555f4de2643a22b (diff) | |
download | ATCD-reactor_deadlock.tar.gz |
ChangeLogTag: Fri Aug 24 14:59:52 2001 Balachandran Natarajan <bala@cs.wustl.edu>reactor_deadlock
-rw-r--r-- | ChangeLog_Reactor_Deadlock | 4 | ||||
-rw-r--r-- | ace/TP_Reactor.cpp | 9 |
2 files changed, 8 insertions, 5 deletions
diff --git a/ChangeLog_Reactor_Deadlock b/ChangeLog_Reactor_Deadlock index 08811795204..fd41d971573 100644 --- a/ChangeLog_Reactor_Deadlock +++ b/ChangeLog_Reactor_Deadlock @@ -1,3 +1,7 @@ +Fri Aug 24 14:59:52 2001 Balachandran Natarajan <bala@cs.wustl.edu> + + * ace/TP_Reactor.cpp (dispatch_socket_events): Cosmetic changes. + Fri Aug 24 14:19:02 2001 Balachandran Natarajan <bala@cs.wustl.edu> * ace/Timer_Queue_T.i: diff --git a/ace/TP_Reactor.cpp b/ace/TP_Reactor.cpp index e0741287eb5..d7b38157e07 100644 --- a/ace/TP_Reactor.cpp +++ b/ace/TP_Reactor.cpp @@ -140,6 +140,7 @@ ACE_TP_Reactor::handle_events (ACE_Time_Value *max_wait_time) // a later point of time, we decide to handle signals we have to // release the lock before we make any upcalls.. What is here // now is not the right thing... + // @@ We need to do better.. return this->handle_signals (event_count, guard); } @@ -158,7 +159,6 @@ ACE_TP_Reactor::handle_events (ACE_Time_Value *max_wait_time) return retval; // Else just fall through for further handling - } @@ -265,6 +265,7 @@ ACE_TP_Reactor::owner (ACE_thread_t *t_id) int ACE_TP_Reactor::get_event_for_dispatching (ACE_Time_Value *max_wait_time) { + ACE_TRACE ("ACE_TP_Reactor::get_event_for_dispatching"); // If the reactor handler state has changed, clear any remembered // ready bits and re-scan from the master wait_set. if (this->state_changed_) @@ -346,10 +347,8 @@ ACE_TP_Reactor::handle_timer_events (int &event_count, // time. ACE_Timer_Node_Dispatch_Info info; - int result = this->timer_queue_->dispatch_info (cur_time, - info); - - if (result) + if (this->timer_queue_->dispatch_info (cur_time, + info)) { // Decrement the number of events that needs handling yet. event_count--; |