du refactor

This commit is contained in:
Amalvy Arthur committed 2018-06-21 16:15:33 +02:00
1 parent f066e22419
commit 92c784a76b
7 files changed
+41 -13

No files matched your search

+1
View File
@@ -110,6 +110,7 @@ void *runnable_Elevator(void * void_this){
printf("Je suis l'ascenseur %s\n", this->name);
for (;;){
data->main_building->get_waiting_floors(data->main_building);
data->main_building->signal_elevator_at_floor(data->main_building, this->get_floor(this));
this->set_floor(this, this->get_next_floor(this));
}