From 2feec887027e119256ba5e3b6042d4e697411f93 Mon Sep 17 00:00:00 2001 From: Juliusz Sosinowicz Date: Mon, 3 Jul 2023 14:40:48 +0200 Subject: [PATCH] Add comment explaining threading usage --- wolfssl/wolfcrypt/types.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wolfssl/wolfcrypt/types.h b/wolfssl/wolfcrypt/types.h index dc0eff721..8deca1b89 100644 --- a/wolfssl/wolfcrypt/types.h +++ b/wolfssl/wolfcrypt/types.h @@ -1391,6 +1391,12 @@ typedef struct w64wrapper { #define INVALID_THREAD_VAL ((THREAD_TYPE)(-1)) #endif + /* Internal wolfSSL threading interface. It does NOT need to be ported + * during initial porting efforts. + * + * It is currently used for: + * - CRL monitor */ + WOLFSSL_LOCAL int wolfSSL_NewThread(THREAD_TYPE* thread, THREAD_CB cb, void* arg); WOLFSSL_LOCAL int wolfSSL_JoinThread(THREAD_TYPE thread);