From 9af94db1da28b227ac7614ae2103e3442f7d6efa 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) (cherry picked from commit 5fb7dd046e1c2db8f8fbcdef99ea5310494b4740) (cherry picked from commit cb0c1c0b04ce170491d69ef03c2a524154323938) --- 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 6399d7ec9d..9738994d2f 100644 --- a/lib/isc/nothreads/include/isc/thread.h +++ b/lib/isc/nothreads/include/isc/thread.h @@ -25,6 +25,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);