Nick Mathewson
|
6c9c54e7fa
Remove if (1) indentation in cpuworker.c
|
пре 11 година |
Nick Mathewson
|
1e896214e7
Refactor cpuworker to use workqueue/threadpool code.
|
пре 11 година |
Nick Mathewson
|
cc6529e9bb
Fix check-spaces
|
пре 11 година |
Nick Mathewson
|
e5f8c772f4
Test and fix workqueue_entry_cancel().
|
пре 11 година |
Nick Mathewson
|
ebbc177005
Add shutdown and broadcast support to test_workqueue.
|
пре 11 година |
Nick Mathewson
|
81354b081b
Add unit test for thread IDs.
|
пре 11 година |
Nick Mathewson
|
7a63005220
Basic unit test for condition variables.
|
пре 11 година |
Nick Mathewson
|
e47a90a976
"Recursive" locks, not "reentrant" locks. Duh.
|
пре 11 година |
Nick Mathewson
|
d69717f61b
Use correct (absolute) time for pthread_cond_timedwait
|
пре 11 година |
Nick Mathewson
|
9fdc0d0594
Fix windows compilation of condition code
|
пре 11 година |
Nick Mathewson
|
d850ec8574
Fix linux compilation (pipe2 needs _GNU_SOURCE)
|
пре 11 година |
Nick Mathewson
|
74b782645a
Move thread tests into their own module
|
пре 11 година |
Nick Mathewson
|
c51f7c23e3
Test a little more of compat_threads.c
|
пре 11 година |
Nick Mathewson
|
3868b5d210
Rename mutex_for_cond -> mutex_nonreentrant
|
пре 11 година |
Nick Mathewson
|
93ad89e9d2
Rename bench_workqueue -> test_workqueue and make it a unit test.
|
пре 11 година |
Nick Mathewson
|
b2db3fb462
Documentation for new workqueue and condition and locking stuff
|
пре 11 година |
Nick Mathewson
|
4abbf13f99
Add a way to tell all threads to do something.
|
пре 11 година |
Nick Mathewson
|
51bc0e7f3d
Isolate the "socketpair or a pipe" logic for alerting main thread
|
пре 11 година |
Nick Mathewson
|
c7eebe237d
Make pending work cancellable.
|
пре 11 година |
Nick Mathewson
|
a82604b526
Initial workqueue implemention, with a simple test.
|
пре 11 година |
Nick Mathewson
|
6c9363310a
Specialize handling for mutexes allocated for condition variables
|
пре 11 година |
Nick Mathewson
|
65016304d2
Add tor_cond_init/uninit
|
пре 11 година |
Nick Mathewson
|
e865248156
Add a timeout to tor_cond_wait; add tor_cond impl from libevent
|
пре 11 година |
Nick Mathewson
|
c2f0d52b7f
Split threading-related code out of compat.c
|
пре 11 година |
Nick Mathewson
|
518b0b3c5f
Do not log a notice on every socks connection
|
пре 9 година |
George Kadianakis
|
220f419da1
New minimum uptime to become an HSDir is 96 hours.
|
пре 9 година |
Nick Mathewson
|
17c568b95c
Fix new unused variable warning in connection_listener_new
|
пре 9 година |
Nick Mathewson
|
8d1fa0c87d
update bug12585 changes file
|
пре 9 година |
Nick Mathewson
|
2b8cebaac0
whitespace fix
|
пре 9 година |
Nick Mathewson
|
d8b7dcca8d
Merge remote-tracking branch 'andrea/ticket12585_v3'
|
пре 9 година |