Thread Synch AOSV 2020  1.2
LKM for exchanging messages between threads
Data Fields
t_message_deliver Struct Reference

Contains a 'msg_t' structure and the relative delivery info. More...

#include <types.h>

Data Fields

msg_t message
 
struct list_head recipient
 
struct rw_semaphore recipient_lock
 
struct list_head fifo_list
 

Detailed Description

Contains a 'msg_t' structure and the relative delivery info.

The recipient list contains the PIDs of thread that readed the message

Field Documentation

◆ message

msg_t t_message_deliver::message

The message to deliver

◆ recipient

struct list_head t_message_deliver::recipient

PIDs of threads that have read 'message'

◆ recipient_lock

struct rw_semaphore t_message_deliver::recipient_lock

Recipient list semaphore


The documentation for this struct was generated from the following file: