Beispiel #1
0
void Sortie(int _idBal, int* _idSemaphoreSynchro, int _idSemaphoreContenuParking, int _idSemaphoreRequete, int _idSemaphoreNbPlaces , int _idMPContenuParking, int _idMPRequete, int _idMPNbPlaces)
// Algorithme :
//
{
	Initialisation(_idBal, _idSemaphoreSynchro, _idSemaphoreContenuParking, _idSemaphoreRequete, _idSemaphoreNbPlaces , _idMPContenuParking, _idMPRequete, _idMPNbPlaces);
 	Moteur();
} //----- fin de Sortie
Beispiel #2
0
void Entree(TypeBarriere parametre, int balId, int semId, int memId)
// Algorithme :
//  Tâche Entree : S'initialise, lance sa phase moteur et se termine.
{
	Init(parametre, balId, semId, memId);
	for(;;)
	{
		Moteur(parametre);
	}
} //----- fin de Entree