From 5fb7dd046e1c2db8f8fbcdef99ea5310494b4740 Mon Sep 17 00:00:00 2001 From: Mukund Sivaraman Date: Sat, 22 Apr 2017 19:58:51 +0530 Subject: [PATCH] Add missing types for non-threaded build (cherry picked from commit b1568eeedcf97b3dab906023e66c2f7e56578819) --- lib/isc/nothreads/include/isc/thread.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/isc/nothreads/include/isc/thread.h b/lib/isc/nothreads/include/isc/thread.h index 20d63ca798..129680db21 100644 --- a/lib/isc/nothreads/include/isc/thread.h +++ b/lib/isc/nothreads/include/isc/thread.h @@ -16,6 +16,14 @@ ISC_LANG_BEGINDECLS +/* Placeholder types (they are not accessed) */ + +typedef void * isc_thread_t; +typedef void * isc_threadresult_t; +typedef void * isc_threadarg_t; +typedef void * isc_threadfunc_t; +typedef void * isc_thread_key_t; + void isc_thread_setconcurrency(unsigned int level);