Actions
Bug #8988
closed[DOC] fix incorrect documentation for SizedQueue
Description
The SizedQueue documentation was incorrect for both SizedQueue#pop and SizedQueue#num_waiting. This patch adds correct documentation using language that is very similar to Queue#pop and Queue#num_waiting.
- Document-method: pop
- call_seq: pop(non_block=false)
-
- Returns the number of threads waiting on the queue.
-
- Retrieves data from the queue. If the queue is empty the calling thread is
-
- suspended until data is pushed onto the queue. If +non_block+ is true the
-
- thread isn't suspended and an exception is raised.
*/
- thread isn't suspended and an exception is raised.
-
- Document-method: pop
-
- call_seq: pop(non_block=false)
-
- Document-method: num_waiting
-
- call_seq: num_waiting
- Returns the number of threads waiting on the queue.
*/
Actions
Like0
Like0