|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|

结构体 | |
| 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. | |
| #define OSAL_MUTEX_WAIT_FOREVER (-1) |