r12570@catbus: nickm | 2007-04-30 10:49:50 -0400

Add an extra lock to try to get unit tessts passing reliably again.


svn:r10062
This commit is contained in:
Nick Mathewson 2007-04-30 14:52:05 +00:00
parent 566cdcd0c2
commit ee5a378665

View File

@ -1229,7 +1229,9 @@ _thread_test_func(void* _s)
strmap_set(_thread_test_strmap, "last to run", cp);
tor_mutex_release(_thread_test_mutex);
}
tor_mutex_acquire(_thread_test_mutex);
strmap_set(_thread_test_strmap, s, tor_strdup(buf));
tor_mutex_release(_thread_test_mutex);
tor_mutex_release(m);