logo separator

[mkgmap-dev] [PATCH v1] Worker threads stop too early

From WanMil wmgcnfg at web.de on Sat Jun 12 20:51:03 BST 2010

Attached patch fixes a bug introduced with r115.
Bug description: Each worker thread stops when it retrieves the last 
element for one area. This means that only (max-threads-1) areas are 
really written until the last element. For the other areas some elements 
are remaining in the working queues.

The patch ensures that a worker thread is finished only if there is no 
more unfinished area.

WanMil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: splitter_end_thread_v1.patch
Type: text/x-patch
Size: 777 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20100612/11dfa22a/attachment.bin 


More information about the mkgmap-dev mailing list