WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
osal_mutex.h 文件参考
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

结构体

struct  osal_mutex
 

宏定义

#define OSAL_MUTEX_WAIT_FOREVER   (-1)
 

函数

int osal_mutex_init (osal_mutex *mutex)
 Initialize the mutex.
 
int osal_mutex_lock (osal_mutex *mutex)
 Acquire the mutex.
 
int osal_mutex_lock_timeout (osal_mutex *mutex, unsigned int timeout)
 Acquire the mutex until timeout.
 
int osal_mutex_lock_interruptible (osal_mutex *mutex)
 Acquire the mutex until timeout, interruptible by signals.
 
int osal_mutex_trylock (osal_mutex *mutex)
 Try to acquire the mutex.
 
void osal_mutex_unlock (osal_mutex *mutex)
 Release the mutex.
 
int osal_mutex_is_locked (osal_mutex *mutex)
 is the mutex locked.
 
void osal_mutex_destroy (osal_mutex *mutex)
 Destroy the mutex.
 

宏定义说明

◆ OSAL_MUTEX_WAIT_FOREVER

#define OSAL_MUTEX_WAIT_FOREVER   (-1)