ACE_Reactor_Notify Class ReferenceAbstract class for unblocking an ACE_Reactor_Impl from its event loop. More...
Inheritance diagram for ACE_Reactor_Notify:
Collaboration diagram for ACE_Reactor_Notify:
Detailed DescriptionAbstract class for unblocking an ACE_Reactor_Impl from its event loop.
For internal use only. This class is for ACE internal use only. Member Function Documentation
Implemented in ACE_Select_Reactor_Notify.
Implemented in ACE_Select_Reactor_Notify.
Called by a thread when it wants to unblock the <Reactor_Impl>. This wakeups the <Reactor_Impl> if currently blocked. Pass over both the <Event_Handler> *and* the mask to allow the caller to dictate which <Event_Handler> method the <Reactor_Impl> will invoke. The ACE_Time_Value indicates how long to blocking trying to notify the <Reactor_Impl>. If timeout == 0, the caller will block until action is possible, else will wait until the relative time specified in *timeout elapses). Implemented in ACE_Select_Reactor_Notify.
Handles pending threads (if any) that are waiting to unblock the <Reactor_Impl>. Implemented in ACE_Select_Reactor_Notify.
Returns the ACE_HANDLE of the notify pipe on which the reactor is listening for notifications so that other threads can unblock the <Reactor_Impl> Implemented in ACE_Select_Reactor_Notify.
Handle one of the notify call on the <handle>. This could be because of a thread trying to unblock the <Reactor_Impl> Implemented in ACE_Select_Reactor_Notify.
Read one of the notify call on the handle into the buffer. This could be because of a thread trying to unblock the <Reactor_Impl> Implemented in ACE_Select_Reactor_Notify.
Set the maximum number of times that the <handle_input> method will iterate and dispatch the <ACE_Event_Handlers> that are passed in via the notify queue before breaking out of the event loop. By default, this is set to -1, which means "iterate until the queue is empty." Setting this to a value like "1 or 2" will increase "fairness" (and thus prevent starvation) at the expense of slightly higher dispatching overhead. Implemented in ACE_Select_Reactor_Notify.
Get the maximum number of times that the <handle_input> method will iterate and dispatch the <ACE_Event_Handlers> that are passed in via the notify queue before breaking out of its event loop. Implemented in ACE_Select_Reactor_Notify.
Purge any notifications pending in this reactor for the specified ACE_Event_Handler object. Returns the number of notifications purged. Returns -1 on error. Implemented in ACE_Select_Reactor_Notify.
The documentation for this class was generated from the following file: Generated on Mon Sep 15 07:16:22 2008 for ACE by 1.5.5 |