69 inactive_first = inactive_head->
next;
73 inactive_head->
next = message_queue_first;
74 message_queue_last->
next = inactive_first;
75 inactive_first->
previous = message_queue_last;
76 message_queue_first->
previous = inactive_head;
static __inline__ Chain_Node * _Chain_First(const Chain_Control *the_chain)
Returns pointer to chain's first node.
Thread queue context for the thread queue methods.
Inlined Routines in the Core Message Handler.
Chain_Control Inactive_messages
uint32_t _CORE_message_queue_Flush(CORE_message_queue_Control *the_message_queue, Thread_queue_Context *queue_context)
Flushes pending messages.
uint32_t number_of_pending_messages
static __inline__ Chain_Node * _Chain_Head(Chain_Control *the_chain)
Returns pointer to chain head.
Chain_Control Pending_messages
static __inline__ void _Chain_Initialize_empty(Chain_Control *the_chain)
Initializes this chain as empty.
Control block used to manage each message queue.
static __inline__ Chain_Node * _Chain_Last(const Chain_Control *the_chain)
Returns pointer to chain's last node.
static __inline__ void _CORE_message_queue_Release(CORE_message_queue_Control *the_message_queue, Thread_queue_Context *queue_context)
Releases the message queue.
static __inline__ void _CORE_message_queue_Acquire_critical(CORE_message_queue_Control *the_message_queue, Thread_queue_Context *queue_context)
Acquires the message queue critical.