38#ifndef _RTEMS_POSIX_MQUEUE_INL
39#define _RTEMS_POSIX_MQUEUE_INL
79ssize_t _POSIX_Message_queue_Receive_support(
83 unsigned int *msg_prio,
84 const struct timespec *abstime,
97 unsigned int msg_prio,
98 const struct timespec *abstime,
103 _POSIX_Message_queue_Allocate_unprotected(
void )
115static inline void _POSIX_Message_queue_Free(
128 _Thread_queue_Context_initialize( queue_context );
143 _POSIX_Message_queue_Priority_to_core(
144 unsigned int priority
157static inline unsigned int _POSIX_Message_queue_Priority_from_core(
162 return (
unsigned int) ((priority >= 0) ? priority : -priority);
168static inline void _POSIX_Message_queue_Namespace_remove (
179_POSIX_Message_queue_Get_by_name(
181 size_t *name_length_p,
182 Objects_Get_by_name_error *error
This header file provides interfaces of the Message Queue Handler which are used by the implementatio...
Objects_Information _POSIX_Message_queue_Information
The POSIX Message Queue objects information.
int CORE_message_queue_Submit_types
The modes in which a message may be submitted to a message queue.
Definition: coremsgimpl.h:87
Objects_Control * _Objects_Get_by_name(const Objects_Information *information, const char *name, size_t *name_length_p, Objects_Get_by_name_error *error)
Gets an object control block identified by its name.
Definition: objectnametoidstring.c:46
uint32_t Objects_Id
Definition: object.h:101
Objects_Control * _Objects_Get(Objects_Id id, ISR_lock_Context *lock_context, const Objects_Information *information)
Maps the specified object identifier to the associated local object control block.
Definition: objectgetlocal.c:43
void _Objects_Namespace_remove_string(const Objects_Information *information, Objects_Control *the_object)
Removes object with a string name from its namespace.
Definition: objectnamespaceremove.c:45
void(* Thread_queue_Enqueue_callout)(Thread_queue_Queue *queue, Thread_Control *the_thread, struct Per_CPU_Control *cpu_self, Thread_queue_Context *queue_context)
Thread queue enqueue callout.
Definition: threadq.h:90
void _POSIX_Message_queue_Delete(POSIX_Message_queue_Control *the_mq, Thread_queue_Context *queue_context)
Delete a POSIX Message Queue.
Definition: mqueuedeletesupp.c:42
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.
Definition: mqueuesendsupp.c:57
This header file provides interfaces used by the POSIX API implementation.
POSIX Message Queues Private Private Support.
This header file defines macros to set errno and return minus one.
Thread queue context for the thread queue methods.
Definition: threadq.h:216
Thread_queue_Lock_context Lock_context
The lock context for the thread queue acquire and release operations.
Definition: threadq.h:221
ISR_lock_Context Lock_context
The lock context for the thread queue acquire and release operations.
Definition: threadq.h:148
This header file provides interfaces of the Thread Queue Handler which are only used by the implement...