You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Possible race conditions. @tkf suggested a good fix here, which is to have a "job started" stated. Then, if the job hasn't started, ThreadingUtilitilies.wait can steal the task back (note that the overhead on this will be much higher than that of a proper work stealing implementation, which would use jumps).
ThreadingUtilities' tasks currently still spend some time before going to sleep. This gets in the way of Threads.@spawn and Threads.@threads, causing bad performance. It'd be great if there were something they could check to go to sleep immediately if someone used Thread.@spawn or Threads.@threads.
The text was updated successfully, but these errors were encountered:
Two problems:
ThreadingUtilitilies.wait
can steal the task back (note that the overhead on this will be much higher than that of a proper work stealing implementation, which would use jumps).Threads.@spawn
andThreads.@threads
, causing bad performance. It'd be great if there were something they could check to go to sleep immediately if someone usedThread.@spawn
orThreads.@threads
.The text was updated successfully, but these errors were encountered: