summaryrefslogtreecommitdiff
path: root/lib/libpthread/test/mutex_d.c
diff options
context:
space:
mode:
authorDaniel Eischen <deischen@FreeBSD.org>2003-10-20 04:23:49 +0000
committerDaniel Eischen <deischen@FreeBSD.org>2003-10-20 04:23:49 +0000
commit5bb9c67cc748981233dbbec0bfe56394729e4092 (patch)
treea424b6b51829b42a06b0770b3e01ff3d42382dcb /lib/libpthread/test/mutex_d.c
parentc92dcdd99cdd6d92e3700d58b17aa703e35b1f56 (diff)
Notes
Diffstat (limited to 'lib/libpthread/test/mutex_d.c')
-rw-r--r--lib/libpthread/test/mutex_d.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libpthread/test/mutex_d.c b/lib/libpthread/test/mutex_d.c
index 45d28a5f8ef3..801d7791e2dd 100644
--- a/lib/libpthread/test/mutex_d.c
+++ b/lib/libpthread/test/mutex_d.c
@@ -1455,6 +1455,9 @@ int main (int argc, char *argv[])
act.sa_flags = SA_RESTART;
sigaction (SIGINT, &act, NULL);
+ /* This test relies on the concurrency level being 1. */
+ pthread_setconcurrency(1);
+
/*
* Initialize the thread attribute.
*/