mirror of
https://gitlab.com/klmp200/LO41.git
synced 2026-10-16 23:49:21 +00:00
du refactor
This commit is contained in:
1 parent
f066e22419
commit
92c784a76b
7 files changed
+41
-13
No files matched your search
@@ -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));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user