• Dmitriy Vyukov's avatar
    runtime: refactor goroutine blocking · f20fd873
    Dmitriy Vyukov authored
    The change is a preparation for the new scheduler.
    It introduces runtime.park() function,
    that will atomically unlock the mutex and park the goroutine.
    It will allow to remove the racy readyonstop flag
    that is difficult to implement w/o the global scheduler mutex.
    
    R=rsc, remyoudompheng, dave
    CC=golang-dev
    https://golang.org/cl/6501077
    f20fd873
Name
Last commit
Last update
..
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
libmach Loading commit data...
pkg Loading commit data...
Make.dist Loading commit data...
all.bash Loading commit data...
all.bat Loading commit data...
all.rc Loading commit data...
clean.bash Loading commit data...
clean.bat Loading commit data...
clean.rc Loading commit data...
make.bash Loading commit data...
make.bat Loading commit data...
make.rc Loading commit data...
run.bash Loading commit data...
run.bat Loading commit data...
run.rc Loading commit data...
sudo.bash Loading commit data...