e represent the structure of the figure
(
NonBlockingQueue Design
) with the
following data fields
private:
volatile
unsigned char theSwitch;
Element*
theArray[UCHAR_MAX+1];
const
int theCircleLength;
The theSwitch is the data field "Switch" on the figure. theArray is the array
of Element pointers that are directly referenced by the "Switch".
theCircleLength is the number of Elements in the circular structure on the
Figure (
NonBlockingQueue Design
).
|