about summary refs log tree commit diff
path: root/src/rt/rust_message.cpp
AgeCommit message (Collapse)AuthorLines
2011-07-29Removing proxies and message queues.Eric Holk-125/+0
2011-07-28Atomic reference counting for tasks.Eric Holk-2/+2
2011-07-21Lots of work on memory tracking and channels.Eric Holk-3/+4
We're trying to get closer to doing correct move semantics for channel operations. This involves a lot of cleanup (such as removing the unused sched parameter from rust_vec constructor) and making circular_buffer kernel_owned. Added tagging for memory allocations. This means we give a string tag to everything we allocate. If we leak something and TRACK_ALLOCATIONS is enabled, then it's much easier now to tell exactly what is leaking.
2011-07-13Prohibit trailing whitespace under 'tidy' script. Clean up all caught cases.Graydon Hoare-1/+1
2011-07-13Remove 'Nop.' comments, add emacs lines, remove obsolete file.Graydon Hoare-4/+0
2011-07-13Fix compile-command lines in rt.Graydon Hoare-1/+1
2011-06-28Renamed what's left of rust_dom to rust_schedulerEric Holk-1/+1
2011-06-28Removed dom_owned, splitting things between task_owned and kernel_owned. Had ↵Eric Holk-3/+4
to re-xfail a few tests brson recently un-xfailed.
2011-04-19Overhaul logging system in runtimeMarijn Haverbeke-8/+2
See https://github.com/graydon/rust/wiki/Logging-vision The runtime logging categories are now treated in the same way as modules in compiled code. Each domain now has a log_lvl that can be used to restrict the logging from that domain (will be used to allow logging to be restricted to a single domain). Features dropped (can be brought back to life if there is interest): - Logger indentation - Multiple categories per log statement - I possibly broke some of the color code -- it confuses me
2010-09-07Lots of design changes around proxies and message passing. Made it so that ↵Michael Bebenita-39/+63
domains can only talk to other domains via handles, and with the help of the rust_kernel.
2010-08-17Lots of changes around memory managment in the Runtime. Added memory regions ↵Michael Bebenita-8/+11
and fixed race caused by calling rust_srv::malloc() from multiple threads when sending messages.
2010-08-09Synthesize a flush_chan upcall right before a channel's ref_count drops to ↵Michael Bebenita-2/+1
zero. This should only happen in the Rust code and not in the drop glue, or on the unwind path. This change allows the task owning the channel to block on a flush and delete its own channel. This change also cleans up some code around rust_port and rust_chan.
2010-07-28Move ports out into their own file, add data_message and make communication ↵Michael Bebenita-0/+32
system use it (and proxies) instead of existing token scheme.
2010-07-28Move notification-messages out into their own file and unify into ↵Michael Bebenita-0/+75
notify_message, make them use proxies, cache task proxies in dom.