mirror of
https://gitlab.com/klmp200/LO41.git
synced 2025-07-11 12:19:25 +00:00
BEHOLD ! The threadinator !
This commit is contained in:
@ -46,8 +46,8 @@ void repair_Elevator(THIS(Elevator)){
|
||||
void *runnable_Elevator(void * void_this){
|
||||
/* This is where the thread logic will be implemented */
|
||||
Elevator * this = (Elevator*) void_this;
|
||||
/* Returning this to keep gcc and clang quiet while developing, will return NULL */
|
||||
return this;
|
||||
printf("Je suis l'ascenseur %s\n", this->name);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Elevator *_init_Elevator(char * name){
|
||||
|
Reference in New Issue
Block a user