]> git.ipfire.org Git - thirdparty/elfutils.git/commit
testsuite backtrace-child.c: Fix thread/spawn/coredump race condition.
authorFrank Ch. Eigler <fche@redhat.com>
Tue, 30 Jun 2026 23:35:56 +0000 (19:35 -0400)
committerFrank Ch. Eigler <fche@elastic.org>
Wed, 1 Jul 2026 20:50:18 +0000 (16:50 -0400)
commit185142b98eaae79591931ff247df6058024b894f
treeac43efc55e67b23e165acc95b21c44c5bbb610d1
parente4d1e6274aacf7b1431c77b61f835001b4858832
testsuite backtrace-child.c: Fix thread/spawn/coredump race condition.

Force child process to wait for main thread to advance past
pthread_create in order to avoid triggering signals/coredumps
prematurely.

Signed-off-by: Frank Ch. Eigler <fche@redhat.com>
tests/backtrace-child.c