March 01, 2002
Real-time CORBA, Part 3: Thread Pools and Synchronizers
March 2002 C++ Experts Forum/Object Interconnections/Table 1
| Design Challenge |
Example from Application |
Real-time CORBA Feature |
| Supporting thread pools effectively |
The base station server must have sufficient threads for all its priority levels |
Use RT CORBA thread pools to preallocate server resources |
| Buffering client requests |
The base station server may need to buffer requests to handle "bursty" client traffic |
Thread pool memory buffering mechanisms |
| Prevent exhaustion of threads by low priority requests |
If drones send many low-priority requests to a base station server, it may run out of threads in its thread pool, so that no threads are available to process high-priority requests |
Partition thread pool into subsets, which are called lanes; each lane has a different priority |
| Synchronizing operations consistently |
The ORB and application must use the same type of synchronizer to avoid priority inversions |
Use RTCORBA::Mutex and the ORB's mutex factory interface |
Previous Page |
1
|
2
|
3
|
4
|
5
|
6
|
7
Next Page