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:
parent
0b77c4a751
commit
c29e6630c1
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue