mirror of https://git.tukaani.org/xz.git
xz: Print the maximum number of worker threads in xz -vv.
This commit is contained in:
parent
0b77c4a751
commit
c29e6630c1
|
@ -199,6 +199,10 @@ coder_set_compression_settings(void)
|
||||||
mt_options.check = check;
|
mt_options.check = check;
|
||||||
memory_usage = lzma_stream_encoder_mt_memusage(
|
memory_usage = lzma_stream_encoder_mt_memusage(
|
||||||
&mt_options);
|
&mt_options);
|
||||||
|
if (memory_usage != UINT64_MAX)
|
||||||
|
message(V_DEBUG, _("Using up to %" PRIu32
|
||||||
|
" threads."),
|
||||||
|
mt_options.threads);
|
||||||
} else
|
} else
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue