Thanks.  Makes sense now.

On Tuesday, October 18, 2016 at 3:53:00 PM UTC-4, Ryan Gardner wrote:
> The documentation for Julia 0.5.0 says that the lock returned by 
> ReentrantLock() "is NOT threadsafe" ( 
> 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?
> 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.

Reply via email to