|
| << Previous | Next >> |
void *OSQAccept (OS_EVENT *pevent);
Description
- Checks the queue to see if a message is available. Unlike
OSQPend(), withOSQAccept()the calling task is not suspended if a message is unavailable.Parameters
- pevent
- Pointer to the message queue's event control block.
Return value
- Pointer to message in the queue if one is available,
NULLpointer otherwise.Library
- OS_Q.C
See also
- OSQCreate, OSQFlush, OSQPend, OSQPost, OSQPostFront, OSQQuery
| 020-0059 Rev. D | << Previous | Next >> | µC/OS-II |