From d592882fe0d1e7762470e6b5eff2b14ed26f1e69 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Mon, 20 Feb 2012 16:39:00 +0000 Subject: Removed some more cChunkPtr usage git-svn-id: http://mc-server.googlecode.com/svn/trunk@298 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cChunkGenerator.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/cChunkGenerator.h') diff --git a/source/cChunkGenerator.h b/source/cChunkGenerator.h index cb30636c3..de1b081d5 100644 --- a/source/cChunkGenerator.h +++ b/source/cChunkGenerator.h @@ -6,7 +6,8 @@ // The object takes requests for generating chunks and processes them in a separate thread one by one. // The requests are not added to the queue if there is already a request with the same coords // Before generating, the thread checks if the chunk hasn't been already generated. -// It is theoretically possible to have multiple generator threads by having multiple instances of this object (if the cChunkPtr is thread-safe) +// It is theoretically possible to have multiple generator threads by having multiple instances of this object +// but then it MAY happen that the chunk is generated twice // If the generator queue is overloaded, the generator skips chunks with no clients in them -- cgit v1.2.3