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
1 changed files with 4 additions and 0 deletions

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
{