openHiTLS API openHiTLS 0.1.0-Alpha1
成员变量
ThreadCallback结构体 参考

#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.


该结构体的文档由以下文件生成: