mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 12:14:38 +02:00
Add comment explaining threading usage
This commit is contained in:
@@ -1391,6 +1391,12 @@ typedef struct w64wrapper {
|
|||||||
#define INVALID_THREAD_VAL ((THREAD_TYPE)(-1))
|
#define INVALID_THREAD_VAL ((THREAD_TYPE)(-1))
|
||||||
#endif
|
#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,
|
WOLFSSL_LOCAL int wolfSSL_NewThread(THREAD_TYPE* thread,
|
||||||
THREAD_CB cb, void* arg);
|
THREAD_CB cb, void* arg);
|
||||||
WOLFSSL_LOCAL int wolfSSL_JoinThread(THREAD_TYPE thread);
|
WOLFSSL_LOCAL int wolfSSL_JoinThread(THREAD_TYPE thread);
|
||||||
|
Reference in New Issue
Block a user