This class provides a thread‐aware, lock‐free, fixed‐size queue of values.
Synopsis
Declared in <bdlcc_fixedqueue.h>
template<class TYPE>
class FixedQueue;
Member Functions
Name |
Description |
|
Create a thread‐aware lock‐free queue of the specified |
|
Destroy this object. |
Return the maximum number of elements that may be stored in this queue. |
|
Disable this queue. |
|
Enable queuing. If the queue is not disabled, this call has no effect. |
|
Return |
|
Return |
|
Return |
|
DEPRECATED: Use |
|
Returns the number of elements currently in this queue. |
|
|
|
|
|
Remove all items from this queue. |
|
DEPRECATED: Use |
|
Attempt to remove the front element without blocking. |
|
|
|
|
Declare that this type uses a |
Friends
Name |
Description |
This class provides a destruction guard that pops an element from a |
|
This class provides a proctor that clears a |
Created with MrDocs