<< Previous | Next >>

OSQFlush

INT8U OSQFlush (OS_EVENT *pevent);

Description

Flushes the contents of the message queue.

Parameters

pevent
Pointer to message queue's event control block.

Return value

OS_NO_ERR
Success.

OS_ERR_EVENT_TYPE
A pointer to a queue was not passed.

OS_ERR_PEVENT_NULL
If pevent is a NULL pointer.

Library

OS_Q.C

See also

OSQAccept, OSQCreate, OSQPend, OSQPost, OSQPostFront, OSQQuery


020-0059 Rev. D << Previous | Next >> µC/OS-II