Nick Mathewson
|
d69717f61b
Use correct (absolute) time for pthread_cond_timedwait
|
11 years ago |
Nick Mathewson
|
9fdc0d0594
Fix windows compilation of condition code
|
11 years ago |
Nick Mathewson
|
d850ec8574
Fix linux compilation (pipe2 needs _GNU_SOURCE)
|
11 years ago |
Nick Mathewson
|
74b782645a
Move thread tests into their own module
|
11 years ago |
Nick Mathewson
|
c51f7c23e3
Test a little more of compat_threads.c
|
11 years ago |
Nick Mathewson
|
3868b5d210
Rename mutex_for_cond -> mutex_nonreentrant
|
11 years ago |
Nick Mathewson
|
93ad89e9d2
Rename bench_workqueue -> test_workqueue and make it a unit test.
|
11 years ago |
Nick Mathewson
|
b2db3fb462
Documentation for new workqueue and condition and locking stuff
|
11 years ago |
Nick Mathewson
|
4abbf13f99
Add a way to tell all threads to do something.
|
11 years ago |
Nick Mathewson
|
51bc0e7f3d
Isolate the "socketpair or a pipe" logic for alerting main thread
|
11 years ago |
Nick Mathewson
|
c7eebe237d
Make pending work cancellable.
|
11 years ago |
Nick Mathewson
|
a82604b526
Initial workqueue implemention, with a simple test.
|
11 years ago |
Nick Mathewson
|
6c9363310a
Specialize handling for mutexes allocated for condition variables
|
11 years ago |
Nick Mathewson
|
65016304d2
Add tor_cond_init/uninit
|
11 years ago |
Nick Mathewson
|
e865248156
Add a timeout to tor_cond_wait; add tor_cond impl from libevent
|
11 years ago |
Nick Mathewson
|
c2f0d52b7f
Split threading-related code out of compat.c
|
11 years ago |
Nick Mathewson
|
518b0b3c5f
Do not log a notice on every socks connection
|
9 years ago |
Nick Mathewson
|
b72acd725a
More tests as suggested by rl1987
|
9 years ago |
George Kadianakis
|
220f419da1
New minimum uptime to become an HSDir is 96 hours.
|
9 years ago |
Nick Mathewson
|
03f783c045
remove a bogus comment
|
9 years ago |
Nick Mathewson
|
73d1d153dc
remove needless AllowDotExit in test_entryconn_rewrite_mapaddress_automap_onion2
|
9 years ago |
Nick Mathewson
|
17c568b95c
Fix new unused variable warning in connection_listener_new
|
9 years ago |
Nick Mathewson
|
73ccf0b33f
Uncomment a test
|
9 years ago |
Nick Mathewson
|
8d1fa0c87d
update bug12585 changes file
|
9 years ago |
Nick Mathewson
|
2b8cebaac0
whitespace fix
|
9 years ago |
Nick Mathewson
|
d8b7dcca8d
Merge remote-tracking branch 'andrea/ticket12585_v3'
|
9 years ago |
Nick Mathewson
|
9d0fab9872
Allow MapAddress and Automap to work together
|
10 years ago |
Nick Mathewson
|
ab6bd78eca
(Disabled, failing) test for the bug in 7555.
|
9 years ago |
Nick Mathewson
|
f2fb85f970
Remove needless strdup in addressmap_register_virtual_address()
|
9 years ago |
Nick Mathewson
|
6cbe016cb1
Fix memory leaks in entryconn tests.
|
9 years ago |