mirror of
https://gitlab.com/klmp200/LO41.git
synced 2024-11-14 21:03:23 +00:00
23 lines
448 B
C
23 lines
448 B
C
|
//
|
||
|
// Created by Antoine Bartuccio on 22/06/2018.
|
||
|
//
|
||
|
|
||
|
#ifndef LO41_ELEVATORBREAKER_H
|
||
|
#define LO41_ELEVATORBREAKER_H
|
||
|
|
||
|
#include "../Objects.h"
|
||
|
|
||
|
typedef struct o_ElevatorBreaker {
|
||
|
PRIVATE int thread_number;
|
||
|
|
||
|
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
|