From b022ea32a685e4163595b5a3ded0bc00bb378896 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 6 Apr 2017 15:51:52 -0400 Subject: Expand cpuworker API to allow other work types --- src/common/workqueue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/workqueue.h') diff --git a/src/common/workqueue.h b/src/common/workqueue.h index 5d14e7f6a7..7b483eb7ac 100644 --- a/src/common/workqueue.h +++ b/src/common/workqueue.h @@ -16,7 +16,7 @@ typedef struct threadpool_s threadpool_t; typedef struct workqueue_entry_s workqueue_entry_t; /** Possible return value from a work function: */ -typedef enum { +typedef enum workqueue_reply_t { WQ_RPL_REPLY = 0, /** indicates success */ WQ_RPL_ERROR = 1, /** indicates fatal error */ WQ_RPL_SHUTDOWN = 2, /** indicates thread is shutting down */ -- cgit v1.2.3-54-g00ecf