• Dmitriy Vyukov's avatar
    runtime: fix windows build · 86a3a542
    Dmitriy Vyukov authored
    Currently windows crashes because early allocs in schedinit
    try to allocate tiny memory blocks, but m->p is not yet setup.
    I've considered calling procresize(1) earlier in schedinit,
    but this refactoring is better and must fix the issue as well.
    Fixes #7218.
    
    R=golang-codereviews, r
    CC=golang-codereviews
    https://golang.org/cl/54570045
    86a3a542
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...
favicon.ico Loading commit data...
robots.txt Loading commit data...