Add threadlock and universal fs functions
This commit is contained in:
@@ -22,15 +22,15 @@
|
||||
|
||||
|
||||
#ifdef SHARING_ENABLED
|
||||
CRITICAL_SECTION LevelChunk::m_csSharing;
|
||||
ThreadLock LevelChunk::m_csSharing;
|
||||
#endif
|
||||
#ifdef _ENTITIES_RW_SECTION
|
||||
// AP - use a RW critical section so we can have multiple threads reading the same data to avoid a clash
|
||||
CRITICAL_RW_SECTION LevelChunk::m_csEntities;
|
||||
#else
|
||||
CRITICAL_SECTION LevelChunk::m_csEntities;
|
||||
ThreadLock LevelChunk::m_csEntities;
|
||||
#endif
|
||||
CRITICAL_SECTION LevelChunk::m_csTileEntities;
|
||||
ThreadLock LevelChunk::m_csTileEntities;
|
||||
bool LevelChunk::touchedSky = false;
|
||||
|
||||
void LevelChunk::staticCtor()
|
||||
|
||||
Reference in New Issue
Block a user