|
返回值 |
描述 |
|
LOS_ERRNO_MUX_INVALID |
The mutex state (for example, the mutex does not exist or is not in use) is not applicable for the current operation. |
|
LOS_ERRNO_MUX_UNAVAILABLE |
The mutex fails to be locked because it is locked by another thread and a period of time is not set for waiting for the mutex to become available. |
|
LOS_ERRNO_MUX_PEND_INTERR |
The mutex is being locked during an interrupt. |
|
LOS_ERRNO_MUX_PEND_IN_LOCK |
The mutex is waited on when the task scheduling is disabled. |
|
LOS_ERRNO_MUX_TIMEOUT |
The mutex waiting times out. |
|
LOS_OK |
The mutex is successfully locked. |