Home
last modified time | relevance | path

Searched refs:threads_max (Results 1 – 3 of 3) sorted by relevance

/netbsd/src/external/public-domain/xz/dist/src/xz/
Dhardware.c18 static uint32_t threads_max = 1; variable
40 threads_max = lzma_cputhreads(); in hardware_threads_set()
41 if (threads_max == 0) in hardware_threads_set()
42 threads_max = 1; in hardware_threads_set()
44 threads_max = 1; in hardware_threads_set()
47 threads_max = n; in hardware_threads_set()
57 return threads_max; in hardware_threads_get()
/netbsd/src/external/public-domain/xz/dist/doc/examples/
D04_compress_easy_mt.c78 const uint32_t threads_max = 8; in init_encoder() local
79 if (mt.threads > threads_max) in init_encoder()
80 mt.threads = threads_max; in init_encoder()
/netbsd/src/external/public-domain/xz/dist/src/liblzma/common/
Dstream_encoder_mt.c150 uint32_t threads_max; member
532 if (coder->threads_initialized == coder->threads_max) in get_thread()
1008 coder->threads_max = 0; in stream_encoder_mt_init()
1020 if (coder->threads_max != options->threads) { in stream_encoder_mt_init()
1024 coder->threads_max = 0; in stream_encoder_mt_init()
1035 coder->threads_max = options->threads; in stream_encoder_mt_init()