My Project
Chargement...
Recherche...
Aucune correspondance
unistd.c
Aller à la documentation de ce fichier.
1
7#include <manux/config.h>
8#include <manux/appelsysteme.h>
9
10#include <unistd.h>
11
13
15
17
18typedef void (CorpsTache());
19
21
22#ifdef MANUX_TUBES
23appelSysteme1(NBAS_TUBE, int, tube, int *);
24#endif
25
29#ifdef MANUX_AS_TEST_SYNCHRO
30appelSysteme2(NBAS_TEST_SYNC, int, testSynchro, int, int);
31#endif
#define NBAS_CREER_TACHE
#define NBAS_DUMB
#define NBAS_BASCULER_TACHE
#define NBAS_IDENTIFIANT_TACHE
int booleen
Definition types.h:32
typedef void(CorpsTache())
int identifiantTache()
Obtention de l'identifiant de la tâche en cours.
int basculerTache()
Basculer vers une autre tâche. On rend simplement la main, c'est du collaboratif.
int tube(int *fd)
Création d'un tube de communication.
int creerNouvelleTache(void(corps()), booleen shareCons)
Création d"une nouvelle tâche.
int appelSystemeInutile()
Un appel système sans intérêt, pour l'exemple.
#define appelSysteme0(numero, typeRetour, nom)
#define appelSysteme1(numero, typeRetour, nom, typeArgument)
#define appelSysteme2(numero, typeRetour, nom, typeArgument1, typeArgument2)