Here's an alternative (to https://github.com/JuliaTime/TimeZones.jl/pull/382) way to fix the thread-local caches. It's a bit clunky. And also I think Julia would generally prefer that nobody did thread-local stuff. And it remains racy against concurrent use of the caches (though that's probably not a major concern). But here it is anyway.
Here's an alternative (to https://github.com/JuliaTime/TimeZones.jl/pull/382) way to fix the thread-local caches. It's a bit clunky. And also I think Julia would generally prefer that nobody did thread-local stuff. And it remains racy against concurrent use of the caches (though that's probably not a major concern). But here it is anyway.
Closes #430 Closes #429