mirror of
https://github.com/golang/go
synced 2024-11-19 05:04:43 -07:00
runtime: fix futex notes
LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/126540043
This commit is contained in:
parent
afb2260491
commit
d2165672ca
@ -220,7 +220,7 @@ runtime·notetsleepg_m(void)
|
|||||||
g->m->ptrarg[0] = nil;
|
g->m->ptrarg[0] = nil;
|
||||||
ns = g->m->scalararg[0] + ((int64)g->m->scalararg[1] << 32);
|
ns = g->m->scalararg[0] + ((int64)g->m->scalararg[1] << 32);
|
||||||
|
|
||||||
runtime·entersyscallblock_m(pc, sp);
|
runtime·entersyscallblock_m();
|
||||||
notetsleep(n, ns, 0, 0);
|
notetsleep(n, ns, 0, 0);
|
||||||
// caller will call exitsyscall on g stack
|
// caller will call exitsyscall on g stack
|
||||||
runtime·gogo(&g->m->curg->sched);
|
runtime·gogo(&g->m->curg->sched);
|
||||||
|
Loading…
Reference in New Issue
Block a user