aboutsummaryrefslogtreecommitdiff
path: root/src/rt/rust.h
diff options
context:
space:
mode:
authorMichael Bebenita <[email protected]>2010-08-17 23:40:07 -0700
committerMichael Bebenita <[email protected]>2010-08-17 23:49:57 -0700
commit2c1ec6771bd09266308686ab13ca32e2aa73da49 (patch)
treeacbcae9da89c0f6d37fccdf8b4091f003e798683 /src/rt/rust.h
parentAdd a "special" rust_log flag to be used for debugging in cases where the ful... (diff)
downloadrust-2c1ec6771bd09266308686ab13ca32e2aa73da49.tar.xz
rust-2c1ec6771bd09266308686ab13ca32e2aa73da49.zip
Lots of changes around memory managment in the Runtime. Added memory regions and fixed race caused by calling rust_srv::malloc() from multiple threads when sending messages.
Diffstat (limited to 'src/rt/rust.h')
-rw-r--r--src/rt/rust.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/rt/rust.h b/src/rt/rust.h
index 97f5c0d4..3c534c94 100644
--- a/src/rt/rust.h
+++ b/src/rt/rust.h
@@ -21,11 +21,6 @@
#include "rust_srv.h"
-inline void *operator new(size_t size, rust_srv *srv)
-{
- return srv->malloc(size);
-}
-
/*
* Local Variables:
* fill-column: 78;