Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/regress/lib/libpthread/sigmask3 rely a bit less on undocumen...
details: https://anonhg.NetBSD.org/src/rev/c959befd1c0d
branches: trunk
changeset: 583917:c959befd1c0d
user: drochner <drochner%NetBSD.org@localhost>
date: Mon Aug 29 18:49:14 2005 +0000
description:
rely a bit less on undocumented behaviour: we don't know which thread
the signal is delivered to, and we can't be sure it is delivered
synchonously
(without that sleep(), the test fails also on Linux)
diffstat:
regress/lib/libpthread/sigmask3/sigmask3.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 805b96eb0d8c -r c959befd1c0d regress/lib/libpthread/sigmask3/sigmask3.c
--- a/regress/lib/libpthread/sigmask3/sigmask3.c Mon Aug 29 17:20:31 2005 +0000
+++ b/regress/lib/libpthread/sigmask3/sigmask3.c Mon Aug 29 18:49:14 2005 +0000
@@ -37,6 +37,7 @@
{
kill(getpid(), SIGUSR1);
+ sleep(1);
if (flag == 2)
printf("Success: Both handlers ran in order\n");
Home |
Main Index |
Thread Index |
Old Index