logo separator

[mkgmap-dev] [PATCH v1] show OSM source file name in log messages

From Mark Burton markb at ordern.com on Sun Jan 24 17:15:57 GMT 2010

Hi Steve,

> There is a ThreadLocal class specially for keeping values on a per-thead 
> basis, as in the attached modification to your patch.

Thanks, I was not aware of that class.
 
> With your code there is a slight chance that there will be a problem if
> a value is set at exactly the same time as the tag is being accessed.

Yes, it should have had synchronized blocks around the map access -
silly me.

Mark



More information about the mkgmap-dev mailing list