Commit History

Autor SHA1 Mensaxe Data
  David Goulet f52ac5be74 Fix: change copyright year in workqueue and thread tests %!s(int64=9) %!d(string=hai) anos
  David Goulet d684dbb0c7 Support monotonic time for pthread_cond_timedwait %!s(int64=9) %!d(string=hai) anos
  Nick Mathewson 3c8dabf69a Fix up some workqueue/threading issues spotted by dgoulet. %!s(int64=9) %!d(string=hai) anos
  Nick Mathewson ac5b70c700 handle EINTR in compat_*threads.c %!s(int64=9) %!d(string=hai) anos
  Nick Mathewson a52e549124 Update workqueue implementation to use a single queue for the work %!s(int64=9) %!d(string=hai) anos
  Nick Mathewson 051ad788e0 Incorporate some comments based on notes from dgoulet %!s(int64=10) %!d(string=hai) anos
  Nick Mathewson fb5ebfb507 Avoid chan/circ linear lookups for requests %!s(int64=10) %!d(string=hai) anos
  Nick Mathewson 6c9c54e7fa Remove if (1) indentation in cpuworker.c %!s(int64=10) %!d(string=hai) anos
  Nick Mathewson 1e896214e7 Refactor cpuworker to use workqueue/threadpool code. %!s(int64=10) %!d(string=hai) anos
  Nick Mathewson cc6529e9bb Fix check-spaces %!s(int64=10) %!d(string=hai) anos
  Nick Mathewson e5f8c772f4 Test and fix workqueue_entry_cancel(). %!s(int64=10) %!d(string=hai) anos
  Nick Mathewson ebbc177005 Add shutdown and broadcast support to test_workqueue. %!s(int64=10) %!d(string=hai) anos
  Nick Mathewson 81354b081b Add unit test for thread IDs. %!s(int64=10) %!d(string=hai) anos
  Nick Mathewson 7a63005220 Basic unit test for condition variables. %!s(int64=10) %!d(string=hai) anos
  Nick Mathewson e47a90a976 "Recursive" locks, not "reentrant" locks. Duh. %!s(int64=10) %!d(string=hai) anos
  Nick Mathewson d69717f61b Use correct (absolute) time for pthread_cond_timedwait %!s(int64=10) %!d(string=hai) anos
  Nick Mathewson 9fdc0d0594 Fix windows compilation of condition code %!s(int64=10) %!d(string=hai) anos
  Nick Mathewson d850ec8574 Fix linux compilation (pipe2 needs _GNU_SOURCE) %!s(int64=10) %!d(string=hai) anos
  Nick Mathewson 74b782645a Move thread tests into their own module %!s(int64=10) %!d(string=hai) anos
  Nick Mathewson c51f7c23e3 Test a little more of compat_threads.c %!s(int64=10) %!d(string=hai) anos
  Nick Mathewson 3868b5d210 Rename mutex_for_cond -> mutex_nonreentrant %!s(int64=10) %!d(string=hai) anos
  Nick Mathewson 93ad89e9d2 Rename bench_workqueue -> test_workqueue and make it a unit test. %!s(int64=10) %!d(string=hai) anos
  Nick Mathewson b2db3fb462 Documentation for new workqueue and condition and locking stuff %!s(int64=10) %!d(string=hai) anos
  Nick Mathewson 4abbf13f99 Add a way to tell all threads to do something. %!s(int64=10) %!d(string=hai) anos
  Nick Mathewson 51bc0e7f3d Isolate the "socketpair or a pipe" logic for alerting main thread %!s(int64=10) %!d(string=hai) anos
  Nick Mathewson c7eebe237d Make pending work cancellable. %!s(int64=10) %!d(string=hai) anos
  Nick Mathewson a82604b526 Initial workqueue implemention, with a simple test. %!s(int64=10) %!d(string=hai) anos
  Nick Mathewson 6c9363310a Specialize handling for mutexes allocated for condition variables %!s(int64=10) %!d(string=hai) anos
  Nick Mathewson 65016304d2 Add tor_cond_init/uninit %!s(int64=10) %!d(string=hai) anos
  Nick Mathewson e865248156 Add a timeout to tor_cond_wait; add tor_cond impl from libevent %!s(int64=10) %!d(string=hai) anos