1
0
mirror of https://github.com/golang/go synced 2024-10-01 16:18:32 -06:00

runtime: fix futex notes

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/126540043
This commit is contained in:
Dmitriy Vyukov 2014-08-22 22:22:16 +04:00
parent afb2260491
commit d2165672ca

View File

@ -220,7 +220,7 @@ runtime·notetsleepg_m(void)
g->m->ptrarg[0] = nil;
ns = g->m->scalararg[0] + ((int64)g->m->scalararg[1] << 32);
runtime·entersyscallblock_m(pc, sp);
runtime·entersyscallblock_m();
notetsleep(n, ns, 0, 0);
// caller will call exitsyscall on g stack
runtime·gogo(&g->m->curg->sched);