RTEMS CPU Kit with SuperCore  4.11.3
Functions

Initializes message_queue Manager Related Data Structures. More...

#include <stdarg.h>
#include <pthread.h>
#include <errno.h>
#include <fcntl.h>
#include <mqueue.h>
#include <limits.h>
#include <rtems/system.h>
#include <rtems/config.h>
#include <rtems/score/watchdog.h>
#include <rtems/seterr.h>
#include <rtems/posix/mqueueimpl.h>
#include <rtems/posix/time.h>
Include dependency graph for mqueue.c:

Functions

void _POSIX_Message_queue_Manager_initialization (void)
 Initialize message_queue manager related data structures. More...
 

Detailed Description

Initializes message_queue Manager Related Data Structures.

Function Documentation

◆ _POSIX_Message_queue_Manager_initialization()

void _POSIX_Message_queue_Manager_initialization ( void  )

Initialize message_queue manager related data structures.

This routine performs the initialization necessary for this manager.

Note
The structure of the routines is identical to that of POSIX Message_queues to leave the option of having unnamed message queues at a future date. They are currently not part of the POSIX standard but unnamed message_queues are. This is also the reason for the apparently unnecessary tracking of the process_shared attribute. [In addition to the fact that it would be trivial to add pshared to the mq_attr structure and have process private message queues.]
This code ignores the O_RDONLY/O_WRONLY/O_RDWR flag at open time.

References _Objects_Initialize_information(), and _POSIX_Message_queue_Information.