Hi

> I think the problem is that the mkgmap Sort object is unsynchronized but
> used by several threads. If they use the internal encoder at the same

Ahh, well spotted.

However...

> The problem should be fixed by using a separate Sort object for each
> thread. One solution would be if CommandArgs.getSort() returns a copy. I
> am not sure how to create a valid copy of a Sort object.

it does return a completely new Sort object for each file...

So I'm not sure what is going on, investigating...
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to