|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|
函数 | |
| 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. | |
| void osal_mutex_destroy | ( | osal_mutex * | mutex | ) |
Destroy the mutex.
| mutex | [in] The mutex to be destroyed. |
| int osal_mutex_init | ( | osal_mutex * | mutex | ) |
Initialize the mutex.
| mutex | [in] the mutex to be initialized. |
| int osal_mutex_is_locked | ( | osal_mutex * | mutex | ) |
is the mutex locked.
| mutex | [in] The mutex to be acquired. |
| int osal_mutex_lock | ( | osal_mutex * | mutex | ) |
Acquire the mutex.
| mutex | [in] the mutex to be initialized. |
| int osal_mutex_lock_interruptible | ( | osal_mutex * | mutex | ) |
Acquire the mutex until timeout, interruptible by signals.
| mutex | [in] The mutex to be acquired. |
| int osal_mutex_lock_timeout | ( | osal_mutex * | mutex, |
| unsigned int | timeout | ||
| ) |
Acquire the mutex until timeout.
| mutex | [in] The mutex to be acquired. |
| timeout | [in] how long to wait before failing. |
| int osal_mutex_trylock | ( | osal_mutex * | mutex | ) |
Try to acquire the mutex.
| mutex | [in] The mutex to be acquired. |
| void osal_mutex_unlock | ( | osal_mutex * | mutex | ) |
Release the mutex.
| mutex | [in] the mutex to be released. |