JuliaData / MemPool.jl

High-performance parallel and distributed datastore for Julia
Other
23 stars 15 forks source link

Trylock loops only in the finalizer #56

Closed krynju closed 3 years ago

krynju commented 3 years ago

So I got a hang as discussed on slack and saw that there was a livelock in poolset with gc again Then I noticed all the locks are obtained using a trylock loop, which isn't necessary.

So i changed the default to lock/unlock and only made it loop in the finalizer unref function

jpsamaroo commented 3 years ago

Thanks!