1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

xz: Print the maximum number of worker threads in xz -vv.

This commit is contained in:
Lasse Collin 2011-05-01 12:15:51 +03:00
parent 0b77c4a751
commit c29e6630c1

View file

@ -199,6 +199,10 @@ coder_set_compression_settings(void)
mt_options.check = check;
memory_usage = lzma_stream_encoder_mt_memusage(
&mt_options);
if (memory_usage != UINT64_MAX)
message(V_DEBUG, _("Using up to %" PRIu32
" threads."),
mt_options.threads);
} else
#endif
{