RTEMS Logo

RTEMS 4.9.4 On-Line Library


Mailbox Manager cre_mbx - Create Mailbox

PREV UP NEXT Bookshelf RTEMS ITRON 3.0 API User's Guide

5.4.1: cre_mbx - Create Mailbox

CALLING SEQUENCE:

ER cre_mbx(
  ID      mbxid,
  T_CMBX *pk_cmbx
);

STATUS CODES:

E_OK - Normal completion
E_NOMEM - Insufficient memory
E_ID - Invalid ID number
E_RSATR - Reserved attribute
E_OBJ - Invalid object state
E_OACV - Object access violation
E_PAR - Parameter error

DESCRIPTION:

Allocated a control area/buffer space for mailbox with some ID.

		User area: 	+ve ids
		System area: 	-ve ids

User may specify if its FIFO or priority level queue. Assumes shared memory b/w communicating processes. Initializes core message queue for this mbox.

NOTES:

NONE


PREV UP NEXT Bookshelf RTEMS ITRON 3.0 API User's Guide

Copyright © 1988-2008 OAR Corporation