From 2c1ec6771bd09266308686ab13ca32e2aa73da49 Mon Sep 17 00:00:00 2001 From: Michael Bebenita Date: Tue, 17 Aug 2010 23:40:07 -0700 Subject: 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. --- src/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 1ba681fd..949490fa 100644 --- a/src/Makefile +++ b/src/Makefile @@ -266,7 +266,8 @@ RUNTIME_CS := rt/sync/timer.cpp \ rt/rust_timer.cpp \ rt/circular_buffer.cpp \ rt/isaac/randport.cpp \ - rt/rust_srv.cpp + rt/rust_srv.cpp \ + rt/memory_region.cpp RUNTIME_HDR := rt/globals.h \ rt/rust.h \ @@ -285,7 +286,9 @@ RUNTIME_HDR := rt/globals.h \ rt/util/hash_map.h \ rt/sync/sync.h \ rt/sync/timer.h \ - rt/rust_srv.h + rt/rust_srv.h \ + rt/memory_region.h \ + rt/memory.h RUNTIME_INCS := -Irt/isaac -Irt/uthash RUNTIME_OBJS := $(RUNTIME_CS:.cpp=$(CFG_OBJ_SUFFIX)) -- cgit v1.2.3