|
| << Previous | Next >> |
OS_EVENT *OSMboxCreate (void *msg);
Description
- Creates a message mailbox if event control blocks are available.
Parameters
- msg
- Pointer to a message to put in the mailbox. If this value is set to the
NULLpointer (i.e.,(void *)0) then the mailbox will be considered empty.
Return value
- != (void *)0
- A pointer to the event control clock (
OS_EVENT) associated with the created mailbox.
- == (void *)0
- No event control blocks were available.
Library
- OS_MBOX.C
See also
- OSMboxAccept, OSMboxPend, OSMboxPost, OSMboxQuery
| 020-0059 Rev. D | << Previous | Next >> | µC/OS-II |