test-lock: disable the rwlock test
This commit is contained in:
parent
5e261ae9b9
commit
5e77c9c1c9
@ -1,7 +1,8 @@
|
|||||||
From 4f6cb65ce4d643aca0c6bf7db2e8b32c0d08eb89 Mon Sep 17 00:00:00 2001
|
From 4f6cb65ce4d643aca0c6bf7db2e8b32c0d08eb89 Mon Sep 17 00:00:00 2001
|
||||||
From: Bruno Haible <bruno@clisp.org>
|
From: Bruno Haible <bruno@clisp.org>
|
||||||
Date: Sat, 24 Dec 2016 18:21:59 +0100
|
Date: Sat, 24 Dec 2016 18:21:59 +0100
|
||||||
Subject: [PATCH] lock test: Fix performance problem on multi-core machines.
|
Subject: [PATCH 1/2] lock test: Fix performance problem on multi-core
|
||||||
|
machines.
|
||||||
MIME-Version: 1.0
|
MIME-Version: 1.0
|
||||||
Content-Type: text/plain; charset=UTF-8
|
Content-Type: text/plain; charset=UTF-8
|
||||||
Content-Transfer-Encoding: 8bit
|
Content-Transfer-Encoding: 8bit
|
||||||
@ -200,3 +201,33 @@ index cb734b4..aa6de27 100644
|
|||||||
--
|
--
|
||||||
2.7.4
|
2.7.4
|
||||||
|
|
||||||
|
|
||||||
|
From 0d04ee8ddedb2bf33d64f148f246a3b7ec4fef21 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Kamil Dudka <kdudka@redhat.com>
|
||||||
|
Date: Mon, 23 Jan 2017 12:35:41 +0100
|
||||||
|
Subject: [PATCH 2/2] test-lock: disable the rwlock test
|
||||||
|
|
||||||
|
It hangs indefinitely if the system rwlock implementation does not
|
||||||
|
prevent writer starvation (and glibc does not implement it).
|
||||||
|
|
||||||
|
Bug: http://www.mail-archive.com/bug-gnulib@gnu.org/msg33017.html
|
||||||
|
---
|
||||||
|
gnulib-tests/test-lock.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/gnulib-tests/test-lock.c b/gnulib-tests/test-lock.c
|
||||||
|
index aa6de27..5af0a6c 100644
|
||||||
|
--- a/gnulib-tests/test-lock.c
|
||||||
|
+++ b/gnulib-tests/test-lock.c
|
||||||
|
@@ -42,7 +42,7 @@
|
||||||
|
Uncomment some of these, to verify that all tests crash if no locking
|
||||||
|
is enabled. */
|
||||||
|
#define DO_TEST_LOCK 1
|
||||||
|
-#define DO_TEST_RWLOCK 1
|
||||||
|
+#define DO_TEST_RWLOCK 0
|
||||||
|
#define DO_TEST_RECURSIVE_LOCK 1
|
||||||
|
#define DO_TEST_ONCE 1
|
||||||
|
|
||||||
|
--
|
||||||
|
2.7.4
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user