aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-01-14Fix check-spacesNick Mathewson
2015-01-14Test and fix workqueue_entry_cancel().Nick Mathewson
2015-01-14Add shutdown and broadcast support to test_workqueue.Nick Mathewson
2015-01-14Add unit test for thread IDs.Nick Mathewson
2015-01-14Basic unit test for condition variables.Nick Mathewson
2015-01-14"Recursive" locks, not "reentrant" locks. Duh.Nick Mathewson
2015-01-14Use correct (absolute) time for pthread_cond_timedwaitNick Mathewson
2015-01-14Fix windows compilation of condition codeNick Mathewson
2015-01-14Fix linux compilation (pipe2 needs _GNU_SOURCE)Nick Mathewson
2015-01-14Move thread tests into their own moduleNick Mathewson
2015-01-14Test a little more of compat_threads.cNick Mathewson
2015-01-14Rename mutex_for_cond -> mutex_nonreentrantNick Mathewson
We'll want to use these for other stuff too.
2015-01-14Rename bench_workqueue -> test_workqueue and make it a unit test.Nick Mathewson
2015-01-14Documentation for new workqueue and condition and locking stuffNick Mathewson
2015-01-14Add a way to tell all threads to do something.Nick Mathewson
2015-01-14Isolate the "socketpair or a pipe" logic for alerting main threadNick 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-14Make pending work cancellable.Nick Mathewson
2015-01-14Initial workqueue implemention, with a simple test.Nick Mathewson
It seems to be working, but more tuning is needed.
2015-01-14Specialize handling for mutexes allocated for condition variablesNick Mathewson
(These must not be reentrant mutexes with pthreads.)
2015-01-14Add tor_cond_init/uninitNick Mathewson
2015-01-14Add a timeout to tor_cond_wait; add tor_cond impl from libeventNick Mathewson
The windows code may need some tweaks for it to compile; I've not tested it yet.
2015-01-14Split threading-related code out of compat.cNick 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.
2015-01-14Do not log a notice on every socks connectionNick Mathewson
2015-01-14New minimum uptime to become an HSDir is 96 hours.George Kadianakis
2015-01-13Fix new unused variable warning in connection_listener_newNick Mathewson
2015-01-13update bug12585 changes fileNick Mathewson
2015-01-13whitespace fixNick Mathewson
2015-01-13Merge remote-tracking branch 'andrea/ticket12585_v3'Nick Mathewson
2015-01-12Fix a conversion warning on 32-bit clangNick Mathewson
2015-01-12On jessie, we need a =, not a ==Nick Mathewson
2015-01-12mktemp wants some XsNick Mathewson
2015-01-12Tweak zero_length_keys.sh and test/include.am to make out-of-tree builds workNick Mathewson
2015-01-13Explicitly chmod AF_UNIX sockets to 0600 when *GroupWritable isn't specifiedAndrea Shepard
2015-01-13Remove no-longer-accurate comment from connection.cAndrea Shepard
2015-01-13Fix ipv4/ipv6 traffic bits on AF_UNIX socks listeners and remove hacky ↵Andrea Shepard
workarounds for brokenness
2015-01-12Fix default list handling for parse_unix_socket_config(); avoid clearing ↵Andrea Shepard
whole pre-existing list
2015-01-12Merge remote-tracking branch 'teor/bug13111-empty-key-files-fn-empty'Nick Mathewson
2015-01-12reindent cell_queues_check_size()Nick Mathewson
2015-01-12Merge branch 'bug13806_squashed'Nick Mathewson
Conflicts: src/or/relay.c
2015-01-12When OOM, free cached hidden service descriptors too.Nick Mathewson
2015-01-12Kill duplicated code in connection_listener_new()Andrea Shepard
2015-01-12If libsystemd-daemon.pc is not found, look for libsystemdNick Mathewson
(Thanks to toralf for noting that the build was broken, and to Sebastian for telling me that my fix still wasn't right.)
2015-01-12src/common/compat_libevent.h: include testsupport.hAnthony G. Basile
When tor is configured with --enable-bufferevents, the build fails because compat_libevent.h makes use of the macro MOCK_DECL() which is defined in testsupport.h, but not included. We add the include.
2015-01-12Merge remote-tracking branch 'origin/maint-0.2.5'Nick Mathewson
2015-01-12Merge remote-tracking branch 'public/bug14129_024' into maint-0.2.5Nick Mathewson
2015-01-11Actually remove LOCALSTATEDIR@/run/tor line from tor.service.inNick Mathewson
2015-01-11Fix build on systemdless systemsNick Mathewson
Fixes bug 14170.
2015-01-11changes file for bug13805Nick Mathewson
2015-01-11systemd changes for 13805 as recommened by Tomasz on that ticket.Nick Mathewson
2015-01-11Merge remote-tracking branch 'candrews/issue13805'Nick Mathewson