summaryrefslogtreecommitdiff
path: root/ACE/ace/Reactor.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2008-09-16 09:35:44 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2008-09-16 09:35:44 +0000
commitccd8d0fde164448b6258d9de3574e52374edc829 (patch)
treec955d352994cbd1cd500768dfe64f31e35ecfd9a /ACE/ace/Reactor.h
parent7c4c934daf46588a0afbc2cf974fdc8946d49815 (diff)
downloadATCD-ccd8d0fde164448b6258d9de3574e52374edc829.tar.gz
Diffstat (limited to 'ACE/ace/Reactor.h')
-rw-r--r--ACE/ace/Reactor.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/ACE/ace/Reactor.h b/ACE/ace/Reactor.h
index 6e7bde775db..423c736bbbb 100644
--- a/ACE/ace/Reactor.h
+++ b/ACE/ace/Reactor.h
@@ -233,13 +233,13 @@ public:
/**
* Initialize the ACE_Reactor to manage <max_number_of_handles>.
- * If <restart> is non-0 then the ACE_Reactor's <handle_events>
+ * If @a restart is false then the ACE_Reactor's <handle_events>
* method will be restarted automatically when <EINTR> occurs. If
- * <signal_handler> or <timer_queue> are non-0 they are used as the
+ * @a signal_handler or @a timer_queue are non-0 they are used as the
* signal handler and timer queue, respectively.
*/
int open (size_t max_number_of_handles,
- int restart = 0,
+ bool restart = false,
ACE_Sig_Handler *signal_handler = 0,
ACE_Timer_Queue *timer_queue = 0);
@@ -656,7 +656,7 @@ public:
int cancel_wakeup (ACE_Event_Handler *event_handler,
ACE_Reactor_Mask masks_to_be_cleared);
- /// Clear @a masks_to_be_cleared from the <handle>'s entry.
+ /// Clear @a masks_to_be_cleared from the @a handle's entry.
/// Note that this call does not cause the Reactor to re-examine
/// its set of handlers - the new masks will be noticed the next
/// time the Reactor waits for activity. If there is no other
@@ -793,10 +793,10 @@ public:
int requeue_position (void);
/// Get the existing restart value.
- int restart (void);
+ bool restart (void);
/// Set a new value for restart and return the original value.
- int restart (int r);
+ bool restart (bool r);
// = Low-level wait_set mask manipulation methods.
@@ -819,7 +819,7 @@ public:
ACE_Reactor_Mask mask,
int ops);
- /// GET/SET/ADD/CLR the ready "bit" bound with the <handle> and @a mask.
+ /// GET/SET/ADD/CLR the ready "bit" bound with the @a handle and @a mask.
int ready_ops (ACE_HANDLE handle,
ACE_Reactor_Mask mask,
int ops);
@@ -835,9 +835,9 @@ public:
*/
int current_info (ACE_HANDLE handle, size_t &msg_size);
- /// Return 1 if we any event associations were made by the reactor
- /// for the handles that it waits on, 0 otherwise.
- int uses_event_associations (void);
+ /// Return true if we any event associations were made by the reactor
+ /// for the handles that it waits on, false otherwise.
+ bool uses_event_associations (void);
/// Declare the dynamic allocation hooks.
ACE_ALLOC_HOOK_DECLARE;