1
0
mirror of https://gitlab.com/klmp200/LO41.git synced 2024-11-23 17:23:21 +00:00
LO41/ElevatorBreaker/ElevatorBreaker.h

26 lines
492 B
C

//
// Created by Antoine Bartuccio on 22/06/2018.
//
#ifndef LO41_ELEVATORBREAKER_H
#define LO41_ELEVATORBREAKER_H
#define MAX_BREAKS 30
#include "../Objects.h"
typedef struct o_ElevatorBreaker {
PRIVATE int thread_number;
PRIVATE int breaks;
PUBLIC void * (*runnable)(void * void_this);
PUBLIC void (*set_thread_number)(_THIS(ElevatorBreaker), int data);
DESTRUCTOR(ElevatorBreaker);
} ElevatorBreaker;
ElevatorBreaker *_init_ElevatorBreaker();
#endif //LO41_ELEVATORBREAKER_H