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