diff options
| author | Jan Ziak <0xe2.0x9a.0x9b@gmail.com> | 2012-09-24 20:08:05 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2012-09-24 20:08:05 -0400 |
| commit | f8c58373e53a9399a9ea75f744c717fc59be3839 (patch) | |
| tree | 735ef2ed1cfc46fa937022e58e2494575c6948b8 /src/pkg/runtime/runtime.h | |
| parent | ba4625c66f5d27e1093758b182c1cd5674c4e67b (diff) | |
| download | go-f8c58373e53a9399a9ea75f744c717fc59be3839.tar.xz | |
runtime: add types to MSpan
R=rsc
CC=golang-dev
https://golang.org/cl/6554060
Diffstat (limited to 'src/pkg/runtime/runtime.h')
| -rw-r--r-- | src/pkg/runtime/runtime.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/pkg/runtime/runtime.h b/src/pkg/runtime/runtime.h index a8639f499e..8ae1e175a7 100644 --- a/src/pkg/runtime/runtime.h +++ b/src/pkg/runtime/runtime.h @@ -268,6 +268,9 @@ struct M uint32 waitsemalock; GCStats gcstats; + uintptr settype_buf[1024]; + uintptr settype_bufsize; + #ifdef GOOS_windows void* thread; // thread handle #endif @@ -836,3 +839,8 @@ extern uint64 ·nan; extern uint64 ·posinf; extern uint64 ·neginf; #define ISNAN(f) ((f) != (f)) + +enum +{ + UseSpanType = 1, +}; |
