1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00
This commit is contained in:
Lasse Collin 2008-11-22 17:44:33 +02:00
parent 6d1d6f4598
commit 4249c8c15a

View file

@ -156,7 +156,7 @@ coder_set_compression_settings(void)
"for the given filter setup")); "for the given filter setup"));
} }
// Limit the number of worked threads so that memory usage // Limit the number of worker threads so that memory usage
// limit isn't exceeded. // limit isn't exceeded.
assert(memory_usage > 0); assert(memory_usage > 0);
size_t thread_limit = memory_limit / memory_usage; size_t thread_limit = memory_limit / memory_usage;