JuliaTime / TimeZones.jl

IANA time zone database access for the Julia programming language
Other
86 stars 51 forks source link

Fix thread-local cache management for Julia 1.9.0 #435

Closed kpamnany closed 1 year ago

kpamnany commented 1 year ago

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

omus commented 1 year ago

Went with #382 instead