Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the number of items in the queue. This method is not concurrency-safe.
size_type unsafe_size() const;
Return Value
The size of the concurrent queue.
Remarks
unsafe_size is not concurrency-safe and can produce incorrect results if called concurrently with calls to the methods push, try_pop, and empty.
Requirements
Header: concurrent_queue.h
Namespace: Concurrency