diff options
| author | Russ Cox <rsc@golang.org> | 2008-09-24 14:13:07 -0700 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2008-09-24 14:13:07 -0700 |
| commit | a61bb954977f2b8a6439943e2a580d21715ee825 (patch) | |
| tree | b7f0fbc0b5af922cb1e30d7855793758575377b3 /src/runtime/runtime.h | |
| parent | 5f0a5e7a1335eb9e4e6b430a61a9bfb1d168df21 (diff) | |
| download | go-a61bb954977f2b8a6439943e2a580d21715ee825.tar.xz | |
get rid of per-G Note, avoids per-G kernel semaphore on Mac.
2.14u 19.82s 22.17r 6.out 100000 # old
1.87u 0.43s 2.31r 6.out 100000 # new
R=r
OCL=15762
CL=15772
Diffstat (limited to 'src/runtime/runtime.h')
| -rw-r--r-- | src/runtime/runtime.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h index 411b6046bf..86afaaa7c2 100644 --- a/src/runtime/runtime.h +++ b/src/runtime/runtime.h @@ -123,7 +123,7 @@ struct G int32 goid; int32 selgen; // valid sudog pointer G* schedlink; - Note stopped; + bool readyonstop; M* m; // for debuggers }; struct Mem |
