Index: src/pkg/runtime/runtime.h |
=================================================================== |
--- a/src/pkg/runtime/runtime.h |
+++ b/src/pkg/runtime/runtime.h |
@@ -373,10 +373,9 @@ |
MCache* mcache; |
// Queue of runnable goroutines. |
- G** runq; |
- int32 runqhead; |
- int32 runqtail; |
- int32 runqsize; |
+ uint32 runqhead; |
+ uint32 runqtail; |
+ G* runq[256]; |
// Available G's (status == Gdead) |
G* gfree; |