Threads Module User's Guide
:
PART II Concurrency Packages
:
Chapter 5 The Interthread Communication Package
:
Interthread Communication Class Hierarchies
Interthread Communication Class Hierarchies
The Interthread Communication package includes classes that implement the two thread communication mechanisms, producer-consumer queues and IOUs.
The Producer-Consumer Class Hierarchy
Figure 26
shows the Producer-Consumer classes.
Figure 26 –
Producer-consumer class hierarchy
The IOU Class Hierarchy
Figure 27
shows the IOU class hierarchy. All of these classes are in the Interthread Communication package except
RWTThreadEscrowImp
, which is in the Threading package (see
“The IOU Class in the Threading Package”
).
Figure 27 –
IOU class hierarchy