mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
e2cd73a2cc
The first SIGUSR1 signal could arrive when sigusr1_sender_pid
was still 0. As a result, kill would send SIGSTOP to the
entire process group. This would cause the test to hang before
printing any output.
This commit also adds a sched_yield to the signal source, so that
it does not flood the parent process with signals it has never a
chance to handle.
Even with these changes, tst-mallocfork2 still fails reliably
after the fix in commit commit
|
||
---|---|---|
.. | ||
arena.c | ||
Depend | ||
hooks.c | ||
Makefile | ||
malloc-internal.h | ||
malloc.c | ||
malloc.h | ||
mallocbug.c | ||
mcheck-init.c | ||
mcheck.c | ||
mcheck.h | ||
memusage.c | ||
memusage.sh | ||
memusagestat.c | ||
morecore.c | ||
mtrace.c | ||
mtrace.pl | ||
obstack.c | ||
obstack.h | ||
scratch_buffer_grow_preserve.c | ||
scratch_buffer_grow.c | ||
scratch_buffer_set_array_size.c | ||
set-freeres.c | ||
thread-freeres.c | ||
tst-calloc.c | ||
tst-malloc-backtrace.c | ||
tst-malloc-fork-deadlock.c | ||
tst-malloc-thread-exit.c | ||
tst-malloc-thread-fail.c | ||
tst-malloc-usable.c | ||
tst-malloc.c | ||
tst-mallocfork2.c | ||
tst-mallocfork.c | ||
tst-mallocstate.c | ||
tst-mallopt.c | ||
tst-mcheck.c | ||
tst-memalign.c | ||
tst-mtrace.c | ||
tst-mtrace.sh | ||
tst-obstack.c | ||
tst-posix_memalign.c | ||
tst-pvalloc.c | ||
tst-realloc.c | ||
tst-scratch_buffer.c | ||
tst-trim1.c | ||
tst-valloc.c | ||
Versions |