| 166 | } |
| 167 | |
| 168 | void ThreadPools_SetMaxPendingWork(uint64_t val) { |
| 169 | if(_readers_thpool != NULL) thpool_set_jobqueue_cap(_readers_thpool, val); |
| 170 | if(_writers_thpool != NULL) thpool_set_jobqueue_cap(_writers_thpool, val); |
| 171 | } |
| 172 | |
| 173 | // returns a list of queued tasks that match the given handler |
| 174 | // caller must free the returned list |
no test coverage detected