summaryrefslogtreecommitdiffstats
path: root/lib/libkse/test
diff options
context:
space:
mode:
authordeischen <deischen@FreeBSD.org>2003-10-20 04:23:49 +0000
committerdeischen <deischen@FreeBSD.org>2003-10-20 04:23:49 +0000
commitef384a447b5703ef2e00c3af7d9058c170a89e6f (patch)
treea424b6b51829b42a06b0770b3e01ff3d42382dcb /lib/libkse/test
parent18fc7b26c7a4226da962aacdb616a4777e7504e3 (diff)
downloadFreeBSD-src-ef384a447b5703ef2e00c3af7d9058c170a89e6f.zip
FreeBSD-src-ef384a447b5703ef2e00c3af7d9058c170a89e6f.tar.gz
This test relies on the concurrency level being 1; make it so.
Diffstat (limited to 'lib/libkse/test')
-rw-r--r--lib/libkse/test/mutex_d.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libkse/test/mutex_d.c b/lib/libkse/test/mutex_d.c
index 45d28a5..801d779 100644
--- a/lib/libkse/test/mutex_d.c
+++ b/lib/libkse/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.
*/
OpenPOWER on IntegriCloud