|
Signbit MPSCQ
0.5.0
|
#include <mpscq.h>

Public Member Functions | |
| void | appendTo (std::atomic< Envelope * > *head) |
| void | recycle () |
Public Attributes | |
| Envelope * | next |
| Next element in the queue. | |
| std::atomic< Envelope * > * | workerPool |
| Where to return the object after the message is processed. | |
| std::atomic< Envelope * > * | ownerPool |
| Where to return the object when the worker is shut down. | |
Header/metadata for a message
|
inline |
Atomically appends this element to the specified queue
| head | is the head of the queue |
|
inline |
Recycles this element by returning it to its worker pool
1.8.17