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
11
13
15
16typedef void (CorpsTache());
17
19
20#ifdef MANUX_TUBES
21appelSysteme1(NBAS_TUBE, int, tube, int *);
22#endif
23
27#ifdef MANUX_AS_TEST_SYNCHRO
28appelSysteme2(NBAS_TEST_SYNC, int, testSynchro, int, int);
29#endif
30
#define NBAS_CREER_TACHE
#define NBAS_DUMB
#define NBAS_BASCULER_TACHE
#define NBAS_ATTENDRE_MILLISEC
#define NBAS_IDENTIFIANT_TACHE
unsigned long uint32_t
Definition types.h:20
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 attendreMillisecondes(uint32_t nMs)
un appel système sans intérêt si ce n'est de faire des tests/demo
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)