|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|
#include <los_mux.h>#include <los_mux_pri.h>#include "soc_osal.h"#include "osal_errno.h"#include "osal_inner.h"
函数 | |
| int | osal_mutex_init (osal_mutex *mutex) |
| Initialize the mutex. | |
| void | osal_mutex_destroy (osal_mutex *mutex) |
| Destroy 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. | |