[This is preliminary documentation and is subject to change.]
Adds an object to the end of the BlockingQueue.
| C# |
public void Enqueue( T item )
- item (T)
- The object to add to the BlockingQueue. The value can be null for reference types.
If the queue is empty, and one or more threads are blocked in the
Dequeue method, then one thread will be unblocked and receive the enqueued
item.