On Tue, Oct 18, 2016 at 3:53 PM, Ryan Gardner <[email protected]> wrote:
> The documentation for Julia 0.5.0 says that the lock returned by > ReentrantLock() "is NOT threadsafe" ( http://docs.julialang.org/en/ > release-0.5/stdlib/parallel/ see ReentrantLock()) . What does that > mean? I interpret it to mean that I cannot safely call lock or unlock > simultaneously with different threads, but then what good would the lock be > at all? > Don't use that lock for threads. It's for tasks. > > In any case, I need a reliable mutex-style lock, but am using Julia 0.4.3 > where there is no Mutex, as far as I can tell. Can I use ReentrantLock and > lock and unlock? Thanks. > There's no threading support on 0.4
