May 2020
Intermediate to advanced
496 pages
13h 54m
English
When a queue is full, no information is thrown away. Instead, the task attempting to send the item to the queue will wait for up to a predetermined amount of time for available space in the queue:

When a queue is full, the task that is attempting to send an item to the queue will wait until a space in the queue becomes available, but only up to the timeout value specified.
In this example, if a task was attempting to send to a full queue and it has a timeout of 10 ms – it would only wait 10 ms for space to become available in the queue. After the timeout expires, the call will return and notify the calling code that the send ...