From 5bb9c67cc748981233dbbec0bfe56394729e4092 Mon Sep 17 00:00:00 2001 From: Daniel Eischen Date: Mon, 20 Oct 2003 04:23:49 +0000 Subject: [PATCH] This test relies on the concurrency level being 1; make it so. --- lib/libkse/test/mutex_d.c | 3 +++ lib/libpthread/test/mutex_d.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/lib/libkse/test/mutex_d.c b/lib/libkse/test/mutex_d.c index 45d28a5f8ef..801d7791e2d 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. */ diff --git a/lib/libpthread/test/mutex_d.c b/lib/libpthread/test/mutex_d.c index 45d28a5f8ef..801d7791e2d 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. */