return true if thread pool internal queue is full with pending work
| 271 | |
| 272 | // return true if thread pool internal queue is full with pending work |
| 273 | bool thpool_queue_full(thpool_* thpool_p) { |
| 274 | ASSERT(thpool_p != NULL); |
| 275 | |
| 276 | // test if there's enough room in thread pool queue |
| 277 | return (thpool_p->jobqueue.len >= thpool_p->jobqueue.cap); |
| 278 | } |
| 279 | |
| 280 | void thpool_set_jobqueue_cap |
| 281 | ( |
no outgoing calls
no test coverage detected