Nick Mathewson
|
720a9ccb2f
Check for EINTR correctly on windows
|
9 anni fa |
David Goulet
|
2c41f12048
Fix: check r < 0 before checking errno
|
9 anni fa |
David Goulet
|
51f793e37e
Fix possible infinite loop on pipe/sock_drain()
|
9 anni fa |
Nick Mathewson
|
4a6b43bf76
fix some warnings in compat_threads.c
|
9 anni fa |
Nick Mathewson
|
1fb9979eb8
Move a redundant _GNU_SOURCE to where it is not redundant
|
9 anni fa |
Nick Mathewson
|
ac5b70c700
handle EINTR in compat_*threads.c
|
9 anni fa |
Nick Mathewson
|
cc6529e9bb
Fix check-spaces
|
11 anni fa |
Nick Mathewson
|
e47a90a976
"Recursive" locks, not "reentrant" locks. Duh.
|
11 anni fa |
Nick Mathewson
|
d850ec8574
Fix linux compilation (pipe2 needs _GNU_SOURCE)
|
11 anni fa |
Nick Mathewson
|
c51f7c23e3
Test a little more of compat_threads.c
|
11 anni fa |
Nick Mathewson
|
3868b5d210
Rename mutex_for_cond -> mutex_nonreentrant
|
11 anni fa |
Nick Mathewson
|
b2db3fb462
Documentation for new workqueue and condition and locking stuff
|
11 anni fa |
Nick Mathewson
|
51bc0e7f3d
Isolate the "socketpair or a pipe" logic for alerting main thread
|
11 anni fa |
Nick Mathewson
|
65016304d2
Add tor_cond_init/uninit
|
11 anni fa |
Nick Mathewson
|
c2f0d52b7f
Split threading-related code out of compat.c
|
11 anni fa |