ACE_Select_Reactor_Notify Class ReferenceUnblock the ACE_Select_Reactor from its event loop. More...
Inheritance diagram for ACE_Select_Reactor_Notify:
Collaboration diagram for ACE_Select_Reactor_Notify:
Detailed DescriptionUnblock the ACE_Select_Reactor from its event loop.
This implementation is necessary for cases where the ACE_Select_Reactor is run in a multi-threaded program. In this case, we need to be able to unblock Constructor & Destructor Documentation
Constructor.
Destructor.
Member Function Documentation
Called by a thread when it wants to unblock the ACE_Select_Reactor. This wakeups the ACE_Select_Reactor if currently blocked in Implements ACE_Reactor_Notify.
Handles pending threads (if any) that are waiting to unblock the ACE_Select_Reactor. Implements ACE_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 Select_Reactor Implements ACE_Reactor_Notify.
Handle one of the notify call on the Implements ACE_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 Implements ACE_Reactor_Notify.
Called back by the ACE_Select_Reactor when a thread wants to unblock us. Reimplemented from ACE_Event_Handler.
Set the maximum number of times that the ACE_Select_Reactor_Notify::handle_input() method will iterate and dispatch the ACE_Event_Handlers that are passed in via the notify pipe before breaking out of its Implements ACE_Reactor_Notify.
Get the maximum number of times that the ACE_Select_Reactor_Notify::handle_input() method will iterate and dispatch the ACE_Event_Handlers that are passed in via the notify pipe before breaking out of its recv loop. Implements ACE_Reactor_Notify.
Purge any notifications pending in this reactor for the specified ACE_Event_Handler object. If eh == 0, all notifications for all handlers are removed (but not any notifications posted just to wake up the reactor itself). Returns the number of notifications purged. Returns -1 on error. Implements ACE_Reactor_Notify.
Member Data DocumentationDeclare the dynamic allocation hooks.
Keep a back pointer to the ACE_Select_Reactor. If this value if NULL then the ACE_Select_Reactor has been initialized with disable_notify_pipe. Contains the ACE_HANDLE the ACE_Select_Reactor is listening on, as well as the ACE_HANDLE that threads wanting the attention of the ACE_Select_Reactor will write to.
Keeps track of the maximum number of times that the ACE_Select_Reactor_Notify::handle_input() method will iterate and dispatch the ACE_Event_Handlers that are passed in via the notify pipe before breaking out of its recv loop. By default, this is set to -1, which means "iterate until the pipe is empty."
The documentation for this class was generated from the following files: Generated on Mon Sep 15 07:16:43 2008 for ACE by 1.5.5 |