| 1108 | _lock() { |
| 1109 | } |
| 1110 | void enqueue(T item) { |
| 1111 | if (_bounded) |
| 1112 | _outgoing.wait(); |
| 1113 | enqueue_nowait(item); |
| 1114 | } |
| 1115 | bool try_enqueue(T item) { |
| 1116 | if (_bounded && _outgoing.try_wait()) { |
| 1117 | enqueue_nowait(item); |
no test coverage detected