Nick Mathewson
|
b421648da2
Merge remote-tracking branch 'public/thread_coverage'
|
8 yıl önce |
cypherpunks
|
94762e37b9
Use the Autoconf macro AC_USE_SYSTEM_EXTENSIONS
|
8 yıl önce |
Nick Mathewson
|
429d15c529
Mark the unreachable lines in compat_{,p}threads and workqueue
|
8 yıl önce |
Nick Mathewson
|
57699de005
Update the copyright year.
|
8 yıl önce |
Nick Mathewson
|
23f8c9b32f
Add a brief file-level description for everything in src/common
|
8 yıl önce |
Nick Mathewson
|
33b5bfb948
Don't call pthread_condattr_setclock() unless it exists
|
9 yıl önce |
Nick Mathewson
|
9ec94f1d22
Use thread-local storage to block event_queue recursion.
|
9 yıl önce |
cypherpunks
|
3b3b447f75
Fix some potential memory leaks in the thread pool code.
|
9 yıl önce |
teor
|
b1094fdec5
Fix an incorrect comment on spawn_func
|
9 yıl önce |
Nick Mathewson
|
3a68f2f54e
const-ify the new failure vars, and one old one
|
9 yıl önce |
Sebastian Hahn
|
68e9f364a0
don't init threads as side effect of assertion
|
9 yıl önce |
Nick Mathewson
|
192ed94410
Use PTHREAD_CREATE_DETACHED macro instead of 1: fix Solaris crash
|
9 yıl önce |
Nick Mathewson
|
1fb9979eb8
Move a redundant _GNU_SOURCE to where it is not redundant
|
9 yıl önce |
David Goulet
|
d684dbb0c7
Support monotonic time for pthread_cond_timedwait
|
9 yıl önce |
Nick Mathewson
|
3c8dabf69a
Fix up some workqueue/threading issues spotted by dgoulet.
|
9 yıl önce |
Nick Mathewson
|
ac5b70c700
handle EINTR in compat_*threads.c
|
9 yıl önce |
Nick Mathewson
|
a52e549124
Update workqueue implementation to use a single queue for the work
|
9 yıl önce |
Nick Mathewson
|
cc6529e9bb
Fix check-spaces
|
11 yıl önce |
Nick Mathewson
|
e47a90a976
"Recursive" locks, not "reentrant" locks. Duh.
|
11 yıl önce |
Nick Mathewson
|
d69717f61b
Use correct (absolute) time for pthread_cond_timedwait
|
11 yıl önce |
Nick Mathewson
|
3868b5d210
Rename mutex_for_cond -> mutex_nonreentrant
|
11 yıl önce |
Nick Mathewson
|
b2db3fb462
Documentation for new workqueue and condition and locking stuff
|
11 yıl önce |
Nick Mathewson
|
6c9363310a
Specialize handling for mutexes allocated for condition variables
|
11 yıl önce |
Nick Mathewson
|
65016304d2
Add tor_cond_init/uninit
|
11 yıl önce |
Nick Mathewson
|
e865248156
Add a timeout to tor_cond_wait; add tor_cond impl from libevent
|
11 yıl önce |
Nick Mathewson
|
c2f0d52b7f
Split threading-related code out of compat.c
|
11 yıl önce |