From e2ad02f50ac69f3789b7e475dbce469eeec29468 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 29 Jan 2012 14:29:26 +0000 Subject: ChunkGenerator: rewritten thread-locking using the new RAII CSLock class git-svn-id: http://mc-server.googlecode.com/svn/trunk@186 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cChunkGenerator.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'source/cChunkGenerator.h') diff --git a/source/cChunkGenerator.h b/source/cChunkGenerator.h index df29a3e60..bdba4da98 100644 --- a/source/cChunkGenerator.h +++ b/source/cChunkGenerator.h @@ -10,9 +10,6 @@ public: void GenerateChunk( int a_X, int a_Z ); - cChunk* GetCurrentlyGenerating(); // WARNING - Be sure to Lock() before calling, and Unlock() after done with the chunk! - void Lock(); - void Unlock(); private: static void GenerateThread( void* a_Params ); -- cgit v1.2.3