|
My Project
|
Définition des opérations de synchronisation de ManuX. Plus de détails...


Aller au code source de ce fichier.
Macros | |
| #define | atomiqueInit(atom, val) *(atom) = (val); |
| #define | atomiqueLire(atom) (atom) |
| #define | _compareEtEchange(ptr, cond, val) |
| #define | tacheEnCoursInterdirePreemption() tacheEnCours->nonPreemptible++; |
| Empêcher la préemption pour la tâche en cours. | |
| #define | tacheEnCoursAutoriserPreemption() tacheEnCours->nonPreemptible--; |
| Autoriser la préemption pour la tâche en cours. | |
Définitions de type | |
| typedef uint32_t | Atomique |
Définition des opérations de synchronisation de ManuX.
A faire : déplacer des choses dans plusieurs fichiers thématiques.
(C) Manu Chaput 2000-2024
Définition dans le fichier atomique.h.
| #define _compareEtEchange | ( | ptr, | |
| cond, | |||
| val | |||
| ) |
Définition à la ligne 41 du fichier atomique.h.
| #define atomiqueInit | ( | atom, | |
| val | |||
| ) | *(atom) = (val); |
Définition à la ligne 21 du fichier atomique.h.
| #define atomiqueLire | ( | atom | ) | (atom) |
Définition à la ligne 24 du fichier atomique.h.
| #define tacheEnCoursAutoriserPreemption | ( | ) | tacheEnCours->nonPreemptible--; |
Autoriser la préemption pour la tâche en cours.
Définition à la ligne 78 du fichier atomique.h.
| #define tacheEnCoursInterdirePreemption | ( | ) | tacheEnCours->nonPreemptible++; |
Empêcher la préemption pour la tâche en cours.
A utiliser de façon très limitée !
Définition à la ligne 72 du fichier atomique.h.
Définition à la ligne 19 du fichier atomique.h.