mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
r13927@Kushana: nickm | 2007-08-03 00:56:54 -0700
ratchet down the time spent on threading tests svn:r11043
This commit is contained in:
parent
652d4e0248
commit
68e6426c23
@ -1613,7 +1613,7 @@ _thread_test_func(void* _s)
|
||||
tor_snprintf(buf, sizeof(buf), "%lu", tor_get_thread_id());
|
||||
cp = tor_strdup(buf);
|
||||
|
||||
for (i=0; i<100000; ++i) {
|
||||
for (i=0; i<10000; ++i) {
|
||||
tor_mutex_acquire(_thread_test_mutex);
|
||||
strmap_set(_thread_test_strmap, "last to run", cp);
|
||||
++*count;
|
||||
|
Loading…
Reference in New Issue
Block a user