Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-08-18 | Improve threadlocal documentation | Nick Mathewson | |
2015-08-18 | Add comments for thread-local storage functions | Nick Mathewson | |
2015-08-18 | Use thread-local storage to block event_queue recursion. | Nick Mathewson | |
2015-01-14 | Fix check-spaces | Nick Mathewson | |
2015-01-14 | "Recursive" locks, not "reentrant" locks. Duh. | Nick Mathewson | |
2015-01-14 | Test a little more of compat_threads.c | Nick Mathewson | |
2015-01-14 | Rename mutex_for_cond -> mutex_nonreentrant | Nick Mathewson | |
We'll want to use these for other stuff too. | |||
2015-01-14 | Documentation for new workqueue and condition and locking stuff | Nick Mathewson | |
2015-01-14 | Isolate the "socketpair or a pipe" logic for alerting main thread | Nick Mathewson | |
This way we can use the linux eventfd extension where available. Using EVFILT_USER on the BSDs will be a teeny bit trickier, and will require libevent hacking. | |||
2015-01-14 | Specialize handling for mutexes allocated for condition variables | Nick Mathewson | |
(These must not be reentrant mutexes with pthreads.) | |||
2015-01-14 | Add tor_cond_init/uninit | Nick Mathewson | |
2015-01-14 | Add a timeout to tor_cond_wait; add tor_cond impl from libevent | Nick Mathewson | |
The windows code may need some tweaks for it to compile; I've not tested it yet. | |||
2015-01-14 | Split threading-related code out of compat.c | Nick Mathewson | |
Also, re-enable the #if'd out condition-variable code. Work queues are going to make us hack on all of this stuff a bit more closely, so it might not be a terrible idea to make it easier to hack. |