kotlinx.coroutines
kotlinx.coroutines copied to clipboard
CoroutineScheduler: do not re-add stolen task to the head of the WorkerQueue where the task can be stolen from again
trafficstars
We should hand it directly to the stealing worker without intermediate stores.
Apart from code being more straightforward, it also saves us at least 2 CASes on a fairly contended memory location