]> git.ipfire.org Git - thirdparty/tor.git/commit
Ensure worker threads actually exit when it is time
authorSebastian Hahn <sebastian@torproject.org>
Thu, 20 Aug 2015 14:48:13 +0000 (16:48 +0200)
committerNick Mathewson <nickm@torproject.org>
Fri, 21 Aug 2015 14:36:53 +0000 (10:36 -0400)
commit32220d38c04bdb0aeccfcd67715e11a655eb297b
treeb5c86778b333b9cf2b7e98f57a8390f8d6dfe207
parent2657ea802bd9633aeea8774b32d64ed671624818
Ensure worker threads actually exit when it is time

This includes a small refactoring to use a new enum (workqueue_reply_t)
for the return values instead of just ints.
changes/workqueue_reply_t [new file with mode: 0644]
src/common/workqueue.c
src/common/workqueue.h
src/or/cpuworker.c
src/test/test_workqueue.c