aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime.h
diff options
context:
space:
mode:
authorRick Hudson <rlh@golang.org>2014-10-23 15:51:17 -0400
committerRuss Cox <rsc@golang.org>2014-10-23 15:51:17 -0400
commit62a4359e2e479dc7392b645faecf7cdc5ff4cda0 (patch)
tree0b6e342ce6c8ecc7320c288e256aa6b1333ef947 /src/runtime/runtime.h
parentaae5c57e38c7c09f2009308803d4bdf1f39a3fd6 (diff)
downloadgo-62a4359e2e479dc7392b645faecf7cdc5ff4cda0.tar.xz
[dev.garbage] runtime: simplifiy lfstack.c due to undiagnosed buffer corruption.
The changes got rid of the problems we were seeing. We suspect the pushcnt field has a race. LGTM=rsc R=dvyukov, rsc CC=golang-codereviews https://golang.org/cl/159330043
Diffstat (limited to 'src/runtime/runtime.h')
-rw-r--r--src/runtime/runtime.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h
index bea7737993..37929c59cf 100644
--- a/src/runtime/runtime.h
+++ b/src/runtime/runtime.h
@@ -573,7 +573,7 @@ enum {
// Lock-free stack node.
struct LFNode
{
- LFNode *next;
+ uint64 next;
uintptr pushcnt;
};