<< 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, null pointer otherwise.
Library
- OS_Q.C (Prior to DC 8:UCOS2.LIB)
See also
- OSQCreate, OSQFlush, OSQPend, OSQPost, OSQPostFront, OSQQuery
Dynamic C Functions | << Previous | Next >> | rabbit.com |