logo separator

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

From Chris Miller chris_overseas at hotmail.com on Sun Jun 13 08:08:11 BST 2010

Ouch, looks like I was a bit hasty with my "fix"... Thanks for catching this 
one.

> 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






More information about the mkgmap-dev mailing list