aboutsummaryrefslogtreecommitdiff
path: root/src/or/cpuworker.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-07-12 12:17:51 -0400
committerNick Mathewson <nickm@torproject.org>2017-07-27 16:28:59 -0400
commit0ae0b5aa4136fe6df7863c8a5b7d239d519b7393 (patch)
treeb6091d0a70fcc9a03f2c0ff361e7c02ba2e7f1d7 /src/or/cpuworker.h
parentbddea78dede010cdf0115265546cdca0c47d64d0 (diff)
downloadtor-0ae0b5aa4136fe6df7863c8a5b7d239d519b7393.tar.gz
tor-0ae0b5aa4136fe6df7863c8a5b7d239d519b7393.zip
Queue consensus diffs at LOW priority.
Fixes bug 22883.
Diffstat (limited to 'src/or/cpuworker.h')
-rw-r--r--src/or/cpuworker.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/cpuworker.h b/src/or/cpuworker.h
index aedf2fae32..320de9532f 100644
--- a/src/or/cpuworker.h
+++ b/src/or/cpuworker.h
@@ -16,7 +16,9 @@ void cpu_init(void);
void cpuworkers_rotate_keyinfo(void);
struct workqueue_entry_s;
enum workqueue_reply_t;
+enum workqueue_priority_t;
MOCK_DECL(struct workqueue_entry_s *, cpuworker_queue_work, (
+ enum workqueue_priority_t priority,
enum workqueue_reply_t (*fn)(void *, void *),
void (*reply_fn)(void *),
void *arg));