Nick Mathewson
|
5ee0cccd49
Merge branch 'macro_free_v2_squashed'
|
7 年之前 |
Nick Mathewson
|
285632a61b
Replace all FREE_AND_NULL* uses to take a type and a free function.
|
7 年之前 |
Nick Mathewson
|
c92ac9f5cb
Convert the rest of src/common's headers to use FREE_AND_NULL
|
7 年之前 |
Nick Mathewson
|
bf882b0373
re-run ./scripts/maint/annotate_ifdef_directives
|
7 年之前 |
Nick Mathewson
|
25f882a9cf
Use stdatomic.h for atomic_counter_t where available.
|
7 年之前 |
Nick Mathewson
|
c1deabd3b0
Run our #else/#endif annotator on our source code.
|
7 年之前 |
Nick Mathewson
|
4266ec766a
Use atomic counters for compressor allocation.
|
7 年之前 |
Nick Mathewson
|
7505f452c8
Run the copyright update script.
|
7 年之前 |
Nick Mathewson
|
57699de005
Update the copyright year.
|
8 年之前 |
Nick Mathewson
|
3d9952a3b1
Improve threadlocal documentation
|
9 年之前 |
Nick Mathewson
|
e8fe77530a
Add comments for thread-local storage functions
|
9 年之前 |
Nick Mathewson
|
9ec94f1d22
Use thread-local storage to block event_queue recursion.
|
9 年之前 |
Nick Mathewson
|
cc6529e9bb
Fix check-spaces
|
11 年之前 |
Nick Mathewson
|
e47a90a976
"Recursive" locks, not "reentrant" locks. Duh.
|
11 年之前 |
Nick Mathewson
|
c51f7c23e3
Test a little more of compat_threads.c
|
11 年之前 |
Nick Mathewson
|
3868b5d210
Rename mutex_for_cond -> mutex_nonreentrant
|
11 年之前 |
Nick Mathewson
|
b2db3fb462
Documentation for new workqueue and condition and locking stuff
|
11 年之前 |
Nick Mathewson
|
51bc0e7f3d
Isolate the "socketpair or a pipe" logic for alerting main thread
|
11 年之前 |
Nick Mathewson
|
6c9363310a
Specialize handling for mutexes allocated for condition variables
|
11 年之前 |
Nick Mathewson
|
65016304d2
Add tor_cond_init/uninit
|
11 年之前 |
Nick Mathewson
|
e865248156
Add a timeout to tor_cond_wait; add tor_cond impl from libevent
|
11 年之前 |
Nick Mathewson
|
c2f0d52b7f
Split threading-related code out of compat.c
|
11 年之前 |