openHiTLS API openHiTLS 0.1.0-Alpha1
|
#include <bsl_sal.h>
成员变量 | |
int32_t(* | pfThreadLockNew )(BSL_SAL_ThreadLockHandle *lock) |
Create a thread lock. | |
void(* | pfThreadLockFree )(BSL_SAL_ThreadLockHandle lock) |
Release the thread lock. | |
int32_t(* | pfThreadReadLock )(BSL_SAL_ThreadLockHandle lock) |
Lock the read operation. | |
int32_t(* | pfThreadWriteLock )(BSL_SAL_ThreadLockHandle lock) |
Lock the write operation. | |
int32_t(* | pfThreadUnlock )(BSL_SAL_ThreadLockHandle lock) |
Unlock | |
uint64_t(* | pfThreadGetId )(void) |
Obtain the thread ID. | |
The user registers the function structure for thread-related operations.