logo separator

[mkgmap-dev] [PATCH v7] make maps in parallel

From Mark Burton markb at ordern.com on Sat May 16 10:48:51 BST 2009

Hi Steve,

> Hi Mark
> 
> I couldn't see anything wrong with your patch that might
> cause maps to be missed but it is hard to tell because
> of the way that CommandArgs works.
> 
> So I've attached a patch that is based on your v7 patch that separates
> out CommandArgs into one class that reads them and another that
> contains the actual options.  The options given to the processor
> are always copies so there is no need to further copy.
> 
> There is also a tweek to make sure that the files are
> given to the combiners in the order they started.

Many thanks for the contribution, I shall look at it shortly.

Unfortunately, I have just discovered another issue which is the static
int nextPriority in GType - this needs to be changed to one instance
per map but at the moment I can't work out what to use as a key to
select the correct value for each map being processed concurrently. If
you have any thoughts on that, please say.

Cheers,

Mark



More information about the mkgmap-dev mailing list