diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2005-08-24 06:30:24 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2005-08-24 06:30:24 +0000 |
commit | 613f177353e34225de2416f00acbb89976e0040b (patch) | |
tree | a4124ece4fd7d32d1ddd4564febd0165202d14ff | |
parent | 37b1cf4975d749ae67a347272ef40f5af80508a7 (diff) | |
download | ATCD-613f177353e34225de2416f00acbb89976e0040b.tar.gz |
Cosmetic improvements
-rw-r--r-- | ace/Dev_Poll_Reactor.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ace/Dev_Poll_Reactor.cpp b/ace/Dev_Poll_Reactor.cpp index 5d86894c644..85b64c9ac5c 100644 --- a/ace/Dev_Poll_Reactor.cpp +++ b/ace/Dev_Poll_Reactor.cpp @@ -1073,17 +1073,19 @@ ACE_Dev_Poll_Reactor::work_pending_i (ACE_Time_Value * max_wait_time) && *this_timeout != *max_wait_time) ? 1 : 0); const long timeout = - (this_timeout == 0 ? -1 /* Infinity */ : static_cast<long> (this_timeout->msec ())); + (this_timeout == 0 + ? -1 /* Infinity */ + : static_cast<long> (this_timeout->msec ())); #if defined (ACE_HAS_EVENT_POLL) - // Waiting for events... + // Wait for events. const int nfds = ::epoll_wait (this->poll_fd_, this->events_, this->size_, static_cast<int> (timeout)); - // all detected events are put in this->events_: + // all detected events are put in this->events_: this->start_pevents_ = this->events_; // If nfds == 0 then end_pevents_ == start_pevents_ meaning that there is |