From ef384a447b5703ef2e00c3af7d9058c170a89e6f Mon Sep 17 00:00:00 2001 From: deischen Date: Mon, 20 Oct 2003 04:23:49 +0000 Subject: This test relies on the concurrency level being 1; make it so. --- lib/libpthread/test/mutex_d.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/libpthread/test') diff --git a/lib/libpthread/test/mutex_d.c b/lib/libpthread/test/mutex_d.c index 45d28a5..801d779 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. */ -- cgit v1.1