Misc #13673 ยป queue-closed-push-exception.diff
| thread_sync.c | ||
|---|---|---|
|
*
|
||
|
* - +close+ will be ignored.
|
||
|
*
|
||
|
* - calling enq/push/<< will return nil.
|
||
|
* - calling enq/push/<< will raise an exception.
|
||
|
*
|
||
|
* - when +empty?+ is false, calling deq/pop/shift will return an object
|
||
|
* from the queue as usual.
|
||