* Add data to q, consuming size units of capacity. If there is insufficient * capacity to consume size units, block until capacity exists. Asserts size is * > 0. */
| 103 | * > 0. |
| 104 | */ |
| 105 | void |
| 106 | bqueue_enqueue(bqueue_t *q, void *data, uint64_t item_size) |
| 107 | { |
| 108 | bqueue_enqueue_impl(q, data, item_size, B_FALSE); |
| 109 | } |
| 110 | |
| 111 | /* |
| 112 | * Enqueue an entry, and then flush the queue. This forces the popping threads |
no test coverage detected