Skip to content

Commit 2feec88

Browse files
committed
Add comment explaining threading usage
1 parent 713670d commit 2feec88

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

wolfssl/wolfcrypt/types.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1391,6 +1391,12 @@ typedef struct w64wrapper {
13911391
#define INVALID_THREAD_VAL ((THREAD_TYPE)(-1))
13921392
#endif
13931393

1394+
/* Internal wolfSSL threading interface. It does NOT need to be ported
1395+
* during initial porting efforts.
1396+
*
1397+
* It is currently used for:
1398+
* - CRL monitor */
1399+
13941400
WOLFSSL_LOCAL int wolfSSL_NewThread(THREAD_TYPE* thread,
13951401
THREAD_CB cb, void* arg);
13961402
WOLFSSL_LOCAL int wolfSSL_JoinThread(THREAD_TYPE thread);

0 commit comments

Comments
 (0)