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