#include "gates.h"
#include "libgate.h"
Functions | |
t_class * | class_new (int class) |
void | class_free (t_class *class) |
t_gate * | gate_new (pid_t pid, t_gate_infos *infos) |
void | gate_free (t_gate *gate) |
int | add_gate_to_class (t_class *cl, t_gate *gate) |
int | del_gate_from_class (t_class *cl, int gate) |
int | get_gate_from_class (t_class *cl, t_gate_infos *gate, int nb) |
int | add_process_to_gate_in_class (t_class *cl, int gate, pid_t pid) |
int | del_process_from_gate_in_class (t_class *cl, int gate, pid_t pid) |
|
|
|
Adds the occurence of a process wanting to use a given gate.
|
|
|
|
|
|
|
|
Deletes an occurence of a process in a gate.
|
|
|
|
|
|
|