We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0e5039 commit d98db1cCopy full SHA for d98db1c
base/locks-mt.jl
@@ -56,7 +56,7 @@ import Base.Sys.WORD_SIZE
56
57
# Note: this cannot assert that the lock is held by the correct thread, because we do not
58
# track which thread locked it. Users beware.
59
-Base.assert_havelock(l::SpinLock) = islocked(l) ? nothing : concurrency_violation()
+Base.assert_havelock(l::SpinLock) = islocked(l) ? nothing : Base.concurrency_violation()
60
61
function lock(l::SpinLock)
62
while true
0 commit comments