Home
last modified time | relevance | path

Searched refs:THR_IDLE (Results 1 – 2 of 2) sorted by relevance

/freebsd-14.2/contrib/xz/src/liblzma/common/
H A Dstream_encoder_mt.c28 THR_IDLE, enumerator
367 worker_state state = THR_IDLE; // Init to silence a warning in worker_start()
376 thr->state = THR_IDLE; in worker_start()
381 if (state != THR_IDLE) in worker_start()
390 assert(state != THR_IDLE); in worker_start()
404 thr->state = THR_IDLE; in worker_start()
462 while (coder->threads[i].state != THR_IDLE) in threads_stop()
512 thr->state = THR_IDLE; in initialize_new_thread()
630 if (coder->thr->state == THR_IDLE) { in stream_encode_in()
H A Dstream_decoder_mt.c24 THR_IDLE, enumerator
384 if (thr->state == THR_IDLE) { in worker_decoder()
402 thr->state = THR_IDLE; in worker_decoder()
492 thr->state = THR_IDLE; in worker_decoder()
555 if (coder->threads[i].state != THR_IDLE) { in threads_stop()
595 thr->state = THR_IDLE; in initialize_new_thread()
1499 assert(coder->thr->state == THR_IDLE); in stream_decode_mt()