Searched refs:THR_IDLE (Results 1 – 3 of 3) sorted by relevance
27 THR_IDLE, enumerator366 worker_state state = THR_IDLE; // Init to silence a warning in worker_start()375 thr->state = THR_IDLE; in worker_start()380 if (state != THR_IDLE) in worker_start()389 assert(state != THR_IDLE); in worker_start()403 thr->state = THR_IDLE; in worker_start()461 while (coder->threads[i].state != THR_IDLE) in threads_stop()511 thr->state = THR_IDLE; in initialize_new_thread()629 if (coder->thr->state == THR_IDLE) { in stream_encode_in()
23 THR_IDLE, enumerator345 if (thr->state == THR_IDLE) { in worker_decoder()444 thr->state = THR_IDLE; in worker_decoder()539 coder->threads[i].state = THR_IDLE; in threads_stop()576 thr->state = THR_IDLE; in initialize_new_thread()1479 assert(coder->thr->state == THR_IDLE); in stream_decode_mt()
1722 The main thread can directly set THR_IDLE in threads_stop() which is