aboutsummaryrefslogtreecommitdiff
path: root/changes
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2010-04-13 00:10:56 +0200
committerNick Mathewson <nickm@torproject.org>2010-04-12 18:15:20 -0400
commit5e679acc72a2648c38a3ee3a2b05cd5b75906568 (patch)
tree97ea878548b53a42a3c4491e85ca5da9ee6dd3e6 /changes
parenta02923122e597e833a987dc38a3b0b8a62e0b122 (diff)
downloadtor-5e679acc72a2648c38a3ee3a2b05cd5b75906568.tar
tor-5e679acc72a2648c38a3ee3a2b05cd5b75906568.tar.gz
testsuite: Prevent the main thread from starving the worker threads
Diffstat (limited to 'changes')
-rw-r--r--changes/weasel-testuite-thread-fixes5
1 files changed, 5 insertions, 0 deletions
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.