From 5e679acc72a2648c38a3ee3a2b05cd5b75906568 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 13 Apr 2010 00:10:56 +0200 Subject: testsuite: Prevent the main thread from starving the worker threads --- changes/weasel-testuite-thread-fixes | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'changes') diff --git a/changes/weasel-testuite-thread-fixes b/changes/weasel-testuite-thread-fixes index 8fed7297d..4c32c3881 100644 --- a/changes/weasel-testuite-thread-fixes +++ b/changes/weasel-testuite-thread-fixes @@ -1,3 +1,8 @@ o Minor bugfixes: - Testsuite: In the util/threads test no longer free the test_mutex before all worker threads have finished. + - Testsuite: The master thread could starve the worker threads quite + badly on certain systems, causing them to run only partially in + the allowed window. This resulted in test failures. Now the master + thread sleeps occasionally for a few microseconds while the two + worker-threads compete for the mutex. -- cgit v1.2.3