aboutsummaryrefslogtreecommitdiff
path: root/src/xz/hardware.h
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2022-11-19 19:06:13 +0200
committerLasse Collin <lasse.collin@tukaani.org>2022-11-19 19:06:13 +0200
commitd327743bb547a53364e5951a16e5f1663fe4b9ff (patch)
tree161f141e97f7946e05541ad92f141c3deeb2dc28 /src/xz/hardware.h
parentCMake: Adds test_memlimit to CMake tests (diff)
downloadxz-d327743bb547a53364e5951a16e5f1663fe4b9ff.tar.xz
xz: Add support --threads=+N so that -T+1 gives threaded mode.
Diffstat (limited to '')
-rw-r--r--src/xz/hardware.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xz/hardware.h b/src/xz/hardware.h
index 2cd6aa23..2bb3d7ba 100644
--- a/src/xz/hardware.h
+++ b/src/xz/hardware.h
@@ -16,6 +16,7 @@ extern void hardware_init(void);
/// Set the maximum number of worker threads.
+/// A special value of UINT32_MAX sets one thread in multi-threaded mode.
extern void hardware_threads_set(uint32_t threadlimit);
/// Get the maximum number of worker threads.