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