aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime.h
diff options
context:
space:
mode:
authorKen Thompson <ken@golang.org>2008-07-25 15:55:12 -0700
committerKen Thompson <ken@golang.org>2008-07-25 15:55:12 -0700
commite963cba8a13b78042d0b75840a4e7f40f294113a (patch)
tree4244bc8f8512ae2aa060102814b49b3d039d8f27 /src/runtime/runtime.h
parent756c63cd023478c639bed98f3afb64c4e9e7aadf (diff)
downloadgo-e963cba8a13b78042d0b75840a4e7f40f294113a.tar.xz
select
R=r APPROVED=r DELTA=147 (94 added, 14 deleted, 39 changed) OCL=13477 CL=13477
Diffstat (limited to 'src/runtime/runtime.h')
-rw-r--r--src/runtime/runtime.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h
index fe6ef5457a..9ee7534926 100644
--- a/src/runtime/runtime.h
+++ b/src/runtime/runtime.h
@@ -107,9 +107,10 @@ struct G
byte* stack0; // first stack segment
Gobuf sched;
G* alllink; // on allq
- int32 status;
+ void* param; // passed parameter on wakeup
+ int16 status;
int32 goid;
- int64 selgen; // valid sudog pointer
+ int32 selgen; // valid sudog pointer
};
struct M
{