diff options
author | Peter Palfrader <peter@palfrader.org> | 2010-04-13 00:10:56 +0200 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-04-12 18:15:20 -0400 |
commit | 5e679acc72a2648c38a3ee3a2b05cd5b75906568 (patch) | |
tree | 97ea878548b53a42a3c4491e85ca5da9ee6dd3e6 /changes | |
parent | a02923122e597e833a987dc38a3b0b8a62e0b122 (diff) | |
download | tor-5e679acc72a2648c38a3ee3a2b05cd5b75906568.tar.gz tor-5e679acc72a2648c38a3ee3a2b05cd5b75906568.zip |
testsuite: Prevent the main thread from starving the worker threads
Diffstat (limited to 'changes')
-rw-r--r-- | changes/weasel-testuite-thread-fixes | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changes/weasel-testuite-thread-fixes b/changes/weasel-testuite-thread-fixes index 8fed7297d7..4c32c3881a 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. |