ACE_Notification_Queue Class ReferenceImplements a user-space queue to send Reactor notifications. More...
Inheritance diagram for ACE_Notification_Queue:
Collaboration diagram for ACE_Notification_Queue:
Detailed DescriptionImplements a user-space queue to send Reactor notifications.The ACE_Reactor uses a pipe to send wake up the thread running the event loop from other threads. This pipe can be limited in size under some operating systems. For some applications, this limit presents a problem. A user-space notification queue is used to overcome those limitations. The queue tries to use as few resources on the pipe as possible, while keeping all the data in user space. This code was refactored from Select_Reactor_Base. Member Typedef Documentation
Constructor & Destructor Documentation
Member Function Documentation
Pre-allocate resources in the queue.
Release all resources in the queue.
Remove all elements in the queue matching I suggest reading the documentation in ACE_Reactor to find a more detailed description. This is just a helper function.
Add a new notification to the queue.
Extract the next notification from the queue.
Allocate more memory for the queue.
Member Data DocumentationKeeps track of allocated arrays of type ACE_Notification_Buffer. The idea is to amortize allocation costs by allocating multiple ACE_Notification_Buffer objects at a time. Keeps track of all pending notifications.
Keeps track of all free buffers.
Synchronization for handling of queues.
The documentation for this class was generated from the following files: Generated on Mon Sep 15 07:15:59 2008 for ACE by 1.5.5 |