RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Functions
mqueueimpl.h File Reference

Private Inlined Routines for POSIX Message Queue. More...

#include <rtems/posix/mqueue.h>
#include <rtems/posix/posixapi.h>
#include <rtems/score/coremsgimpl.h>
#include <rtems/score/threadqimpl.h>
#include <rtems/seterr.h>

Go to the source code of this file.

Functions

void _POSIX_Message_queue_Delete (POSIX_Message_queue_Control *the_mq, Thread_queue_Context *queue_context)
 Delete a POSIX Message Queue.
 
ssize_t _POSIX_Message_queue_Receive_support (mqd_t mqdes, char *msg_ptr, size_t msg_len, unsigned int *msg_prio, const struct timespec *abstime, Thread_queue_Enqueue_callout enqueue_callout)
 
int _POSIX_Message_queue_Send_support (mqd_t mqdes, const char *msg_ptr, size_t msg_len, unsigned int msg_prio, const struct timespec *abstime, Thread_queue_Enqueue_callout enqueue_callout)
 POSIX Message Queue Send Support.
 

Detailed Description

Private Inlined Routines for POSIX Message Queue.

This include file contains the static inline implementation of the private inlined routines for POSIX Message Queue.

Function Documentation

◆ _POSIX_Message_queue_Delete()

void _POSIX_Message_queue_Delete ( POSIX_Message_queue_Control the_mq,
Thread_queue_Context queue_context 
)

Delete a POSIX Message Queue.

This routine supports the mq_unlink and mq_close routines by doing most of the work involved with removing a message queue.

◆ _POSIX_Message_queue_Send_support()

int _POSIX_Message_queue_Send_support ( mqd_t  mqdes,
const char *  msg_ptr,
size_t  msg_len,
unsigned int  msg_prio,
const struct timespec *  abstime,
Thread_queue_Enqueue_callout  enqueue_callout 
)

POSIX Message Queue Send Support.

This routine posts a message to a specified message queue.