From a61bb954977f2b8a6439943e2a580d21715ee825 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Wed, 24 Sep 2008 14:13:07 -0700 Subject: 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 --- src/runtime/runtime.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/runtime/runtime.h') 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 -- cgit v1.3-5-g45d5