summaryrefslogtreecommitdiff
path: root/commonTypes.h
diff options
context:
space:
mode:
authorJapa2010-09-11 10:08:00 +0000
committerJapa2010-09-11 10:08:00 +0000
commitf289538a4f71e65f4e94503631d0c0852daad518 (patch)
tree89f88a8a096aaf6b85609381485c0e16fb23e449 /commonTypes.h
parentf5cd4faed27242435796b21ee6ecf3599930acfd (diff)
downloadstonesense-f289538a4f71e65f4e94503631d0c0852daad518.tar.gz
stonesense-f289538a4f71e65f4e94503631d0c0852daad518.tar.bz2
stonesense-f289538a4f71e65f4e94503631d0c0852daad518.tar.xz
preliminary multithreading work. still needs stuff done to the block allocators to make things not crash.
Diffstat (limited to 'commonTypes.h')
-rw-r--r--commonTypes.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/commonTypes.h b/commonTypes.h
index fd80ea6..1196213 100644
--- a/commonTypes.h
+++ b/commonTypes.h
@@ -193,6 +193,14 @@ typedef struct {
bool skipMaps;
bool skipInorganicMats;
bool skipOrganicMats;
+
+ //following are threading stuff
+
+ ALLEGRO_MUTEX * readMutex;
+ ALLEGRO_COND * readCond;
+ ALLEGRO_THREAD * readThread;
+ bool threadmade;
+ bool threadstarted;
} GameConfiguration;