]> git.ipfire.org Git - thirdparty/systemd.git/commit
test-loop-block: don't spawn threads in case N_THREADS is 1
authorLennart Poettering <lennart@poettering.net>
Tue, 5 Apr 2022 16:09:10 +0000 (18:09 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 7 Apr 2022 16:55:58 +0000 (18:55 +0200)
commitda9ae8ea6c3d1c05ec171e4472669c61b43b65d8
treea83d9f1a9f8db32c2cb5f15324f0f62d9c0139fb
parent7ffc7f3fcc86260417a7b09bd40f9c517da371df
test-loop-block: don't spawn threads in case N_THREADS is 1

Let's simplify things if we are only supposed to create a single thread.
Makes it easier to debug things with gdb.
src/test/test-loop-block.c