BlockingQueue.push - multiple declarations
Function BlockingQueue.push
Add an item to the queue.
Parameters
Name | Description |
---|---|
item | item to add. |
timeout | how long to wait if no room to add immediately. |
Function BlockingQueue.push
Pushes an uninitialized item to the queue.
For items that are faster to initialize in place than to copy, this form will be faster.
Parameters
Name | Description |
---|---|
timeout | how long to wait if no room to add immediately. |
Returns
A pointer to the newly created item, so it can be filled with values.