|
返回值 |
描述 |
|
LOS_OK |
The queue is successfully read. |
|
LOS_ERRNO_QUEUE_INVALID |
The handle of the queue that is being read is invalid. |
|
LOS_ERRNO_QUEUE_READ_PTR_NULL |
The pointer passed in during queue reading is null. |
|
LOS_ERRNO_QUEUE_READSIZE_ISZERO |
The buffer size passed in during queue reading is 0. |
|
LOS_ERRNO_QUEUE_READ_IN_INTERRUPT |
The queue cannot be read during an interrupt when the time for waiting to processing the queue expires. |
|
LOS_ERRNO_QUEUE_NOT_CREATE |
The queue to be read is not created. |
|
LOS_ERRNO_QUEUE_ISEMPTY |
No resource is in the queue that is being read when the time for waiting to processing the queue expires. |
|
LOS_ERRNO_QUEUE_PEND_IN_LOCK |
The task is forbidden to be blocked on a queue when the task is locked. |
|
LOS_ERRNO_QUEUE_TIMEOUT |
The time set for waiting to processing the queue expires. |
|
LOS_ERRNO_QUEUE_READ_SIZE_TOO_SMALL |
The buffer size passed in during queue reading is less than the queue size. |