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

Garbage Collector structure. More...

#include <types.h>

Data Fields

struct work_struct work
 
atomic_t ratio
 

Detailed Description

Garbage Collector structure.

The ratio parameter indicates when the garbage collector should starts: If the current ratio is higher that the garbage collector ratio, it perform cleaning operation, otherwise it will not start

Ratio is computed by dividing the current storage size with the maximum storage size_t and by multiplying it by 10.

Field Documentation

◆ ratio

atomic_t t_garbage_collector::ratio

Ratio of the garbage collector

◆ work

struct work_struct t_garbage_collector::work

Garbage Collector deferred work


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