diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-01-14 02:22:27 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-01-14 02:22:27 +0000 |
commit | d4a8520f0da7aaff311ee1550bcd66d9fae25eda (patch) | |
tree | 428cddc2e897ea2005796a023f41adcd220549c9 /ace/Select_Reactor_T.cpp | |
parent | 1f5b83aae5452fb079b1929e82ab4854da71504a (diff) | |
download | ATCD-d4a8520f0da7aaff311ee1550bcd66d9fae25eda.tar.gz |
ChangeLogTag: Thu Jan 13 20:11:55 2000 Irfan Pyarali <irfan@cs.wustl.edu>
Diffstat (limited to 'ace/Select_Reactor_T.cpp')
-rw-r--r-- | ace/Select_Reactor_T.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/ace/Select_Reactor_T.cpp b/ace/Select_Reactor_T.cpp index 7ab8ee08a29..e983afa94d5 100644 --- a/ace/Select_Reactor_T.cpp +++ b/ace/Select_Reactor_T.cpp @@ -918,10 +918,15 @@ ACE_Select_Reactor_T<ACE_SELECT_REACTOR_TOKEN>::work_pending (const ACE_Time_Val u_long width = (u_long) this->handler_rep_.max_handlep1 (); + ACE_Select_Reactor_Handle_Set fd_set; + fd_set.rd_mask_ = this->wait_set_.rd_mask_; + fd_set.wr_mask_ = this->wait_set_.wr_mask_; + fd_set.ex_mask_ = this->wait_set_.ex_mask_; + return ACE_OS::select (int (width), - this->wait_set_.rd_mask_, - this->wait_set_.wr_mask_, - this->wait_set_.ex_mask_, + fd_set.rd_mask_, + fd_set.wr_mask_, + fd_set.ex_mask_, timeout); } |