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
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to