|
From: Jeremy F. <je...@go...> - 2005-02-21 08:49:56
|
CVS commit by fitzhardinge:
Check for pending signals when returning from a handler. This makes
sure that all signals are delivered before making progress (could result
in a live-lock too). Helps more Posix conformance tests pass.
M +6 -0 syscalls.c 1.23
--- valgrind/coregrind/x86-linux/syscalls.c #1.22:1.23
@@ -582,4 +582,7 @@ PRE(sys_sigreturn, Special)
VGA_(signal_return)(tid, False);
+
+ /* Keep looking for signals until there are none */
+ VG_(poll_signals)(tid);
}
@@ -597,4 +600,7 @@ PRE(sys_rt_sigreturn, Special)
VGA_(signal_return)(tid, True);
+
+ /* Keep looking for signals until there are none */
+ VG_(poll_signals)(tid);
}
|