]> git.lizzy.rs Git - dragonblocks-bedrock.git/blob - src/threads.h
Some structure Changes
[dragonblocks-bedrock.git] / src / threads.h
1 #ifndef _THREADS_H_
2 #define _THREADS_H_
3
4 #define BACKUP_INTERVAL 60
5 #define PHYSIC_TIME_TICK 1000000/100
6
7 class Threads{
8         public:
9                 static void add_signal_handlers();
10                 static void signal_handler(int);                
11                 static void start(void *(*)(void *));
12                 static void *worldBackupThread(void *);
13                 static void *graphicRedrawThread(void *);
14                 static void *modRuntimeThread(void *);
15                 static void *entityPhysicsThread(void *);
16                 static void *timeThread(void *);
17 };
18 #endif
19