From 335fe260a81f61ec99ff5940df733b4c50aedb7c Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Sat, 9 Apr 2011 15:11:13 +0300 Subject: xz: Minor internal changes to handling of --threads. Now it always defaults to one thread. Maybe this will change again if a threading method is added that doesn't affect memory usage. --- src/xz/hardware.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/xz/hardware.h') diff --git a/src/xz/hardware.h b/src/xz/hardware.h index bed952b0..46ebad5b 100644 --- a/src/xz/hardware.h +++ b/src/xz/hardware.h @@ -15,12 +15,11 @@ extern void hardware_init(void); -/// Set custom value for maximum number of coder threads. -extern void hardware_threadlimit_set(uint32_t threadlimit); +/// Set the maximum number of worker threads. +extern void hardware_threads_set(uint32_t threadlimit); -/// Get the maximum number of coder threads. Some additional helper threads -/// are allowed on top of this). -extern uint32_t hardware_threadlimit_get(void); +/// Get the maximum number of worker threads. +extern uint32_t hardware_threads_get(void); /// Set the memory usage limit. There are separate limits for compression -- cgit v1.2.3