TAO_EC_Kokyu_Dispatching Class Reference
Dispatching strategy that minimizes priority inversion.
More...
#include <EC_Kokyu_Dispatching.h>
Inheritance diagram for TAO_EC_Kokyu_Dispatching:
[legend]Collaboration diagram for TAO_EC_Kokyu_Dispatching:
[legend]List of all members.
Detailed Description
Dispatching strategy that minimizes priority inversion.
This strategy uses multiple queues, each serviced by a thread at different priority. This minimizes priority inversion because the consumers at higher priority are serviced before consumers at lower priority. It is more flexible than using the supplier thread to dispatch because it allows high-priority suppliers to push events to low-priority consumers (and vice-versa). It also isolates the supplier threads from the time spent on upcalls to the consumer objects, making the system easier to analyze and schedule.
Constructor & Destructor Documentation
|
The scheduler is used to find the range of priorities and similar info. |
Member Function Documentation
void TAO_EC_Kokyu_Dispatching::activate |
( |
void |
|
) |
[virtual] |
|
|
Initialize all the data structures, activate any internal threads, etc.
Implements TAO_EC_Dispatching. |
|
The consumer represented by proxy should receive event. It can use the information in qos_info to determine the event priority (among other things).
Implements TAO_EC_Dispatching. |
void TAO_EC_Kokyu_Dispatching::setup_lanes |
( |
void |
|
) |
[private] |
|
void TAO_EC_Kokyu_Dispatching::shutdown |
( |
void |
|
) |
[virtual] |
|
|
Deactivate any internal threads and cleanup internal data structures, it should only return once the threads have finished their jobs.
Implements TAO_EC_Dispatching. |
Member Data Documentation
The documentation for this class was generated from the following files:
Generated on Thu Feb 10 20:51:52 2005 for TAO_RTEvent by
1.3.9.1