diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2006-03-15 08:42:17 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2006-03-15 08:42:17 +0000 |
commit | b5ccc6f374dccb33b8d4d49a64a78b18ec2f7515 (patch) | |
tree | 9fcc524e5e77bc9839b57c66537075c4bd1e18ad | |
parent | 3d9b59a6bea74ad13d7631a86a163498335a807e (diff) | |
download | ATCD-b5ccc6f374dccb33b8d4d49a64a78b18ec2f7515.tar.gz |
ChangeLogTag: Tue Mar 14 09:51:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r-- | ace/Event_Handler.h | 3 | ||||
-rw-r--r-- | ace/Handle_Set.cpp | 4 | ||||
-rw-r--r-- | ace/Handle_Set.inl | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/ace/Event_Handler.h b/ace/Event_Handler.h index 5d2db0a2b30..b6b066cb379 100644 --- a/ace/Event_Handler.h +++ b/ace/Event_Handler.h @@ -145,7 +145,8 @@ public: /// The application takes responsibility of resuming the handler ACE_APPLICATION_RESUMES_HANDLER }; - /* Called to figure out whether the handler needs to resumed by the + /** + * Called to figure out whether the handler needs to resumed by the * reactor or the application can take care of it. The default * value of 0 would be returned which would allow the reactor to * take care of resumption of the handler. The application can diff --git a/ace/Handle_Set.cpp b/ace/Handle_Set.cpp index b6aabfd39f8..3b76da06460 100644 --- a/ace/Handle_Set.cpp +++ b/ace/Handle_Set.cpp @@ -237,13 +237,13 @@ ACE_Handle_Set::set_max (ACE_HANDLE current_max) for (fd_mask val = maskp[i]; (val & ACE_MSB_MASK) != 0; val = (val << 1)) - this->max_handle_++; + ++this->max_handle_; #elif 1 /* !defined(ACE_HAS_BIG_FD_SET) */ this->max_handle_ = ACE_MULT_BY_WORDSIZE (i); for (fd_mask val = maskp[i]; (val & ~1) != 0; // This obscure code is needed since "bit 0" is in location 1... val = (val >> 1) & ACE_MSB_MASK) - this->max_handle_++; + ++this->max_handle_; #else register u_long val = this->mask_.fds_bits[i]; this->max_handle_ = ACE_MULT_BY_WORDSIZE (i) diff --git a/ace/Handle_Set.inl b/ace/Handle_Set.inl index f1acab14a9c..b6f77cfac93 100644 --- a/ace/Handle_Set.inl +++ b/ace/Handle_Set.inl @@ -134,7 +134,7 @@ ACE_Handle_Set::clr_bit (ACE_HANDLE handle) { FD_CLR ((ACE_SOCKET) handle, &this->mask_); - this->size_--; + --this->size_; #if !defined (ACE_WIN32) if (handle == this->max_handle_) |