openHiTLS API openHiTLS 0.1.0-Alpha1
Data Fields
ThreadCallback Struct Reference

#include <bsl_sal.h>

Data Fields

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.
 

Detailed Description

The user registers the function structure for thread-related operations.


The documentation for this struct was generated from the following file: