Nick Mathewson
|
3a68f2f54e
const-ify the new failure vars, and one old one
|
9 gadi atpakaļ |
Sebastian Hahn
|
68e9f364a0
don't init threads as side effect of assertion
|
9 gadi atpakaļ |
Nick Mathewson
|
192ed94410
Use PTHREAD_CREATE_DETACHED macro instead of 1: fix Solaris crash
|
9 gadi atpakaļ |
Nick Mathewson
|
1fb9979eb8
Move a redundant _GNU_SOURCE to where it is not redundant
|
9 gadi atpakaļ |
David Goulet
|
d684dbb0c7
Support monotonic time for pthread_cond_timedwait
|
9 gadi atpakaļ |
Nick Mathewson
|
3c8dabf69a
Fix up some workqueue/threading issues spotted by dgoulet.
|
9 gadi atpakaļ |
Nick Mathewson
|
ac5b70c700
handle EINTR in compat_*threads.c
|
9 gadi atpakaļ |
Nick Mathewson
|
a52e549124
Update workqueue implementation to use a single queue for the work
|
9 gadi atpakaļ |
Nick Mathewson
|
cc6529e9bb
Fix check-spaces
|
11 gadi atpakaļ |
Nick Mathewson
|
e47a90a976
"Recursive" locks, not "reentrant" locks. Duh.
|
11 gadi atpakaļ |
Nick Mathewson
|
d69717f61b
Use correct (absolute) time for pthread_cond_timedwait
|
11 gadi atpakaļ |
Nick Mathewson
|
3868b5d210
Rename mutex_for_cond -> mutex_nonreentrant
|
11 gadi atpakaļ |
Nick Mathewson
|
b2db3fb462
Documentation for new workqueue and condition and locking stuff
|
11 gadi atpakaļ |
Nick Mathewson
|
6c9363310a
Specialize handling for mutexes allocated for condition variables
|
11 gadi atpakaļ |
Nick Mathewson
|
65016304d2
Add tor_cond_init/uninit
|
11 gadi atpakaļ |
Nick Mathewson
|
e865248156
Add a timeout to tor_cond_wait; add tor_cond impl from libevent
|
11 gadi atpakaļ |
Nick Mathewson
|
c2f0d52b7f
Split threading-related code out of compat.c
|
11 gadi atpakaļ |