#include <libc.h>
#include "liblsavl.h"
#include "libgate.h"
#include "gates.h"
Go to the source code of this file.
Functions | |
int | gate_register (t_tcb *caller) |
int | gate_unregister (t_tcb *caller) |
int | gate_get_first (t_tcb *caller) |
int | gate_get_next (t_tcb *caller) |
int | gate_use (t_tcb *caller) |
int | gate_unuse (t_tcb *caller) |
|
Gets the first occurence of a gate.
|
|
XXX For now we need to use the int class to know the class, but this should be changed so that we use only the gate info. Gets the next occurence of a gate.
|
|
Registers a gate in the gate service, creating new classes if it has to.
|
|
Unregisters a gate from the class tree. This is the method called when a gate decides to unregister itself.
|
|
This is where a process tells the gate manager that it has finished to use the gate.
|
|
This function is used to tell the gate service that a process wishes to use a given gate now it has found it.
|