Szymański's algorithm: Difference between revisions

Content added Content deleted
mNo edit summary
Line 24: Line 24:


=={{header|Julia}}==
=={{header|Julia}}==
<syntaxhighlight lang="julia">using ThreadSafeDicts # implement a single lock on all thread's shared values as a lockable Dict (keyed by thread id)
<syntaxhighlight lang="julia">using ThreadSafeDicts # implement a single lock on all thread's shared values as a lockable Dict (keyed by a process id)


const dict = ThreadSafeDict()
const dict = ThreadSafeDict()