Jilles Tjoelker b823fb59f1 sh: Fix race condition with signals and wait or set -T.
The change in r238888 was incomplete. It was still possible for a trapped
signal to arrive before the shell went to sleep (sigsuspend()) because a
check was missing or because the signal arrived before in_waitcmd was set.

On SMP, this bug sometimes caused the builtins/wait4.0 test to take 1 second
to execute; it then might or might not fail. On UP, the test almost always
failed.
2013-09-02 21:57:46 +00:00
..
2013-03-15 20:12:54 +00:00
2012-02-22 03:36:15 +00:00
2013-05-10 18:43:36 +00:00
2013-05-17 03:52:20 +00:00
2013-06-29 15:49:26 +00:00
2013-04-28 22:52:43 +00:00
2013-06-02 17:55:00 +00:00
2013-04-27 21:59:43 +00:00
2013-04-26 17:56:35 +00:00
2013-03-15 20:12:54 +00:00
2012-07-15 21:12:22 +00:00