<< Previous | Next >>

OSQCreate

OS_EVENT * OSQCreate( void ** start, INT16U qsize );

Description

Creates a message queue if event control blocks are available.

Parameters

start
Pointer to the base address of the message queue storage area. The storage area MUST be declared an array of pointers to void: void *MessageStorage[qsize].

qsize
Number of elements in the storage area.

Return value

Pointer to message queue's event control block or null pointer if no event control blocks were available.

Library

OS_Q.C (Prior to DC 8:UCOS2.LIB)

See also

OSQAccept, OSQFlush, OSQPend, OSQPost, OSQPostFront, OSQQuery


Dynamic C Functions << Previous | Next >> rabbit.com