Creating non-sticky tasks in a @threads
loop causes "Unlocking a lock in a different thread"
#31614
Labels
multithreading
Base.Threads and related functionality
After fixing #31613 my mean test-code (enquing work from tid==1 and then servicing it else on the other worker threads), fails with a
julia/src/locks.h:152: jl_mutex_unlock_nogc: Assertion lock->owner == jl_thread_self() && "Unlocking a lock in a different thread."'
chaos.jl
To cite Jeff: The only parallel program one would ever want to execute is to print the threadid.
The text was updated successfully, but these errors were encountered: