From 7c8dafab2fe11793f68ca9a05773c818a7afa33f Mon Sep 17 00:00:00 2001 From: John Safranek Date: Fri, 21 Oct 2022 11:40:59 -0700 Subject: [PATCH] Nucleus Thread Types Add a type block for Nucleus RTOS's thread types. --- wolfssl/wolfcrypt/types.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wolfssl/wolfcrypt/types.h b/wolfssl/wolfcrypt/types.h index b9a948ff5..3df664c97 100644 --- a/wolfssl/wolfcrypt/types.h +++ b/wolfssl/wolfcrypt/types.h @@ -1247,6 +1247,10 @@ typedef struct w64wrapper { typedef unsigned int THREAD_RETURN; typedef int THREAD_TYPE; #define WOLFSSL_THREAD + #elif defined(WOLFSSL_NUCLEUS) + typedef unsigned int THREAD_RETURN; + typedef intptr_t THREAD_TYPE; + #define WOLFSSL_THREAD #elif defined(WOLFSSL_TIRTOS) typedef void THREAD_RETURN; typedef Task_Handle THREAD_TYPE;