summaryrefslogtreecommitdiffstats
path: root/AnvilStats/Processor.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-28 22:17:29 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-28 22:17:29 +0200
commit3165458c5993a447556efbbefc5aeb4352353347 (patch)
tree89195d960927cb1f43b871d367efd7f3081ace71 /AnvilStats/Processor.h
parentAnvilStats: improved speed (~5x) by caching the entire region file in the processing thread (diff)
downloadcuberite-3165458c5993a447556efbbefc5aeb4352353347.tar
cuberite-3165458c5993a447556efbbefc5aeb4352353347.tar.gz
cuberite-3165458c5993a447556efbbefc5aeb4352353347.tar.bz2
cuberite-3165458c5993a447556efbbefc5aeb4352353347.tar.lz
cuberite-3165458c5993a447556efbbefc5aeb4352353347.tar.xz
cuberite-3165458c5993a447556efbbefc5aeb4352353347.tar.zst
cuberite-3165458c5993a447556efbbefc5aeb4352353347.zip
Diffstat (limited to 'AnvilStats/Processor.h')
-rw-r--r--AnvilStats/Processor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/AnvilStats/Processor.h b/AnvilStats/Processor.h
index 09dc980ec..4f5496bc6 100644
--- a/AnvilStats/Processor.h
+++ b/AnvilStats/Processor.h
@@ -60,6 +60,7 @@ protected:
AStringList m_FileQueue;
cThreads m_Threads;
+ cEvent m_ThreadsHaveStarted; // This is signalled by each thread to notify the parent thread that it can start waiting for those threads
void PopulateFileQueue(const AString & a_WorldFolder);