• 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
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
VERSION Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...