aboutsummaryrefslogtreecommitdiff
path: root/src/rt/rust_internal.h
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2011-01-14 13:41:39 -0800
committerGraydon Hoare <[email protected]>2011-01-14 13:41:39 -0800
commitfe1a4ab23c6493d72e41b5ed8d87e7741e847154 (patch)
tree0e8d2ddadda85c63cb959a88ea8bea1c7f9ef6d1 /src/rt/rust_internal.h
parentMake lookup non recursive and instead move the recursion just to (diff)
downloadrust-fe1a4ab23c6493d72e41b5ed8d87e7741e847154.tar.xz
rust-fe1a4ab23c6493d72e41b5ed8d87e7741e847154.zip
Change log buffer butes to a symbolic const in runtime.
Diffstat (limited to 'src/rt/rust_internal.h')
-rw-r--r--src/rt/rust_internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rt/rust_internal.h b/src/rt/rust_internal.h
index f008d9f6..9a1b2ec0 100644
--- a/src/rt/rust_internal.h
+++ b/src/rt/rust_internal.h
@@ -88,6 +88,10 @@ static size_t const TIME_SLICE_IN_MS = 10;
static intptr_t const CONST_REFCOUNT = 0x7badface;
+// This accounts for logging buffers.
+
+static size_t const BUF_BYTES = 1024;
+
// Every reference counted object should derive from this base class.
template <typename T> struct rc_base {