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

Main device structure. More...

#include <main_device.h>

Data Fields

dev_t dev
 
struct cdev cdev
 
int minor
 
struct idr group_map
 
struct semaphore sem
 

Detailed Description

Main device structure.

This structure is associated with the 'main_thread_synch' device. Apart from containing the device specification, the field 'group_map' employs Linux IDR in order to map group's 'group_data' structure to IDs

Field Documentation

◆ cdev

struct cdev t_main_sync::cdev

Main Charcter device

◆ group_map

struct idr t_main_sync::group_map

IDR that maps group's ID to their structure

◆ minor

int t_main_sync::minor

minor#

◆ sem

struct semaphore t_main_sync::sem

Main device IDR semaphore


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