TibrvQueueGroup
Class
Declaration
classTibrvQueueGroup
: public TibrvDispatchable
TibrvQueueGroup(); // Create empty.
virtual ~TibrvQueueGroup(); // Destroy and reclaim storage.
Purpose
Prioritized dispatch of several queues with one call.
Remarks
Queue groups add flexibility and fine-grained control to the event queue dispatch mechanism. Programs can create groups of queues and dispatch them according to their queue priorities.
The constructor creates a hollow object; TibrvQueueGroup::create() makes it operational.
The destructor calls the destroy
method, unless the C object is already destroyed.
Method |
Description |
Life Cycle
|
|
Dispatch
|
|
Dispatch an event from a queue group; if no event is ready, block. |
|
Dispatch an event, but if no event is ready to dispatch, return immediately (without blocking). |
|
Queues
|
|
Inherited Methods |