mirror of
https://github.com/golang/go
synced 2024-11-25 11:07:59 -07:00
runtime/proc.c: which to that
R=iant, dho CC=golang-dev https://golang.org/cl/4286044
This commit is contained in:
parent
5e963a826c
commit
a7528f1b81
@ -78,7 +78,7 @@ struct Sched {
|
|||||||
Sched runtime·sched;
|
Sched runtime·sched;
|
||||||
int32 gomaxprocs;
|
int32 gomaxprocs;
|
||||||
|
|
||||||
// An m which is waiting for notewakeup(&m->havenextg). This may be
|
// An m that is waiting for notewakeup(&m->havenextg). This may be
|
||||||
// only be accessed while the scheduler lock is held. This is used to
|
// only be accessed while the scheduler lock is held. This is used to
|
||||||
// minimize the number of times we call notewakeup while the scheduler
|
// minimize the number of times we call notewakeup while the scheduler
|
||||||
// lock is held, since the m will normally move quickly to lock the
|
// lock is held, since the m will normally move quickly to lock the
|
||||||
|
Loading…
Reference in New Issue
Block a user