summaryrefslogtreecommitdiff
path: root/ace/Reactor.i
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-01-06 22:40:39 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-01-06 22:40:39 +0000
commitba2488448b54975d2d00a398daab619acc8d5361 (patch)
tree45885e95294ca80d930ed4f66b7e96e130d62403 /ace/Reactor.i
parent70d108545611dbb86049d0109ef4a7ab1ef6289e (diff)
downloadATCD-ba2488448b54975d2d00a398daab619acc8d5361.tar.gz
My Dog
Diffstat (limited to 'ace/Reactor.i')
-rw-r--r--ace/Reactor.i43
1 files changed, 15 insertions, 28 deletions
diff --git a/ace/Reactor.i b/ace/Reactor.i
index 7b7e38218ec..2602450de43 100644
--- a/ace/Reactor.i
+++ b/ace/Reactor.i
@@ -3,21 +3,21 @@
// Reactor.i
-inline int
+ACE_INLINE int
ACE_Reactor::resume_handler (ACE_Event_Handler *h)
{
ACE_TRACE ("ACE_Reactor::resume_handler");
- return this->resume (h->get_handle ());
+ return this->resume_handler (h->get_handle ());
}
-inline int
+ACE_INLINE int
ACE_Reactor::suspend_handler (ACE_Event_Handler *h)
{
ACE_TRACE ("ACE_Reactor::suspend_handler");
- return this->suspend (h->get_handle ());
+ return this->suspend_handler (h->get_handle ());
}
-inline int
+ACE_INLINE int
ACE_Reactor::register_handler (int signum,
ACE_Event_Handler *new_sh,
ACE_Sig_Action *new_disp,
@@ -30,14 +30,14 @@ ACE_Reactor::register_handler (int signum,
old_sh, old_disp);
}
-inline int
+ACE_INLINE int
ACE_Reactor::handler (int signum, ACE_Event_Handler **handler)
{
ACE_TRACE ("ACE_Reactor::handler");
return this->handler_i (signum, handler);
}
-inline int
+ACE_INLINE int
ACE_Reactor::remove_handler (int signum,
ACE_Sig_Action *new_disp,
ACE_Sig_Action *old_disp,
@@ -51,14 +51,14 @@ ACE_Reactor::remove_handler (int signum,
// Note the queue handles its own locking.
-inline int
+ACE_INLINE int
ACE_Reactor::cancel_timer (ACE_Event_Handler *handler)
{
ACE_TRACE ("ACE_Reactor::cancel_timer");
return this->timer_queue_->cancel (handler);
}
-inline int
+ACE_INLINE int
ACE_Reactor::cancel_timer (int timer_id, const void **arg)
{
ACE_TRACE ("ACE_Reactor::cancel_timer");
@@ -67,7 +67,7 @@ ACE_Reactor::cancel_timer (int timer_id, const void **arg)
// Performs operations on the "ready" bits.
-inline int
+ACE_INLINE int
ACE_Reactor::ready_ops (ACE_Event_Handler *handler,
ACE_Reactor_Mask mask,
int ops)
@@ -78,7 +78,7 @@ ACE_Reactor::ready_ops (ACE_Event_Handler *handler,
// Performs operations on the "dispatch" masks.
-inline int
+ACE_INLINE int
ACE_Reactor::mask_ops (ACE_Event_Handler *handler,
ACE_Reactor_Mask mask,
int ops)
@@ -87,20 +87,7 @@ ACE_Reactor::mask_ops (ACE_Event_Handler *handler,
return this->mask_ops (handler->get_handle (), mask, ops);
}
-inline int
-ACE_Reactor::any_ready (void) const
-{
- ACE_TRACE ("ACE_Reactor::any_ready");
- ACE_Sig_Guard sb;
-
- int result = this->rd_handle_mask_ready_.num_set () > 0
- || this->wr_handle_mask_ready_.num_set () > 0
- || this->ex_handle_mask_ready_.num_set () > 0;
-
- return result;
-}
-
-inline int
+ACE_INLINE int
ACE_Reactor::schedule_wakeup (ACE_Event_Handler *eh,
ACE_Reactor_Mask mask)
{
@@ -108,7 +95,7 @@ ACE_Reactor::schedule_wakeup (ACE_Event_Handler *eh,
return this->mask_ops (eh->get_handle (), mask, ACE_Reactor::ADD_MASK);
}
-inline int
+ACE_INLINE int
ACE_Reactor::cancel_wakeup (ACE_Event_Handler *eh,
ACE_Reactor_Mask mask)
{
@@ -116,7 +103,7 @@ ACE_Reactor::cancel_wakeup (ACE_Event_Handler *eh,
return this->mask_ops (eh->get_handle (), mask, ACE_Reactor::CLR_MASK);
}
-inline int
+ACE_INLINE int
ACE_Reactor::schedule_wakeup (ACE_HANDLE handle,
ACE_Reactor_Mask mask)
{
@@ -124,7 +111,7 @@ ACE_Reactor::schedule_wakeup (ACE_HANDLE handle,
return this->mask_ops (handle, mask, ACE_Reactor::ADD_MASK);
}
-inline int
+ACE_INLINE int
ACE_Reactor::cancel_wakeup (ACE_HANDLE handle,
ACE_Reactor_Mask mask)
{