]> git.lizzy.rs Git - dragonblocks-bedrock.git/blob - src/threads.h
e8fce5b55884e57ec085930c9f80f889de30890f
[dragonblocks-bedrock.git] / src / threads.h
1 #ifndef _THREADS_H_
2 #define _THREADS_H_
3
4 #define MAP_BACKUP_INTERVAL 15
5
6 class Threads{
7         public:
8                 static void startMapBackupThread();
9                 static void addSignalHandlers();
10                 static void startGraphicUpdateThread();
11         private:
12                 static void *mapBackupThread(void *);
13                 static void *graphicUpdateThread(void *);
14                 static void signal_handler(int);
15 };
16 #endif
17