yield() = (enq_work(current_task()); wait()) function yield() ct = current_task() enq_work(ct) try wait() catch ct.queue === nothing || list_deletefirst!(ct.queue, ct) rethrow() end end """ yield(t::Task, arg = nothing) 4 changes: 4 additions & 0 deletions 4 stdlib/...