]> git.ipfire.org Git - thirdparty/util-linux.git/commit
tests: (helpers) add a thread creation helper
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Wed, 22 Apr 2026 00:56:26 +0000 (20:56 -0400)
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Mon, 4 May 2026 12:55:15 +0000 (08:55 -0400)
commitfec6b8bcdbeb4af1d05cbfe9b69e9b9be96da9d5
tree1ee3f1f014252257572f84f2aef4e1e08ab1ca40
parent2308d4c07f74d3149d9bb127afb85ce617ecad88
tests: (helpers) add a thread creation helper

This simple helper can be used to create an arbitrary amount
of threads to be used in test scripts for tools like chrt(1).
chrt(1) can perform tasks on multiple threads for a process
and to conveniently test this 'test_threads_create' can be
used to spawn threads for a specified amount of time to act on.

Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
meson.build
tests/commands.sh
tests/helpers/Makemodule.am
tests/helpers/test_threads_create.c [new file with mode: 0644]