aboutsummaryrefslogtreecommitdiff
path: root/src/rt/rust_message.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Overhaul logging system in runtimeMarijn Haverbeke2011-04-191-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
* Lots of design changes around proxies and message passing. Made it so that ↵Michael Bebenita2010-09-071-39/+63
| | | | domains can only talk to other domains via handles, and with the help of the rust_kernel.
* Lots of changes around memory managment in the Runtime. Added memory regions ↵Michael Bebenita2010-08-171-8/+11
| | | | and fixed race caused by calling rust_srv::malloc() from multiple threads when sending messages.
* Synthesize a flush_chan upcall right before a channel's ref_count drops to ↵Michael Bebenita2010-08-091-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.
* Move ports out into their own file, add data_message and make communication ↵Michael Bebenita2010-07-281-0/+32
| | | | system use it (and proxies) instead of existing token scheme.
* Move notification-messages out into their own file and unify into ↵Michael Bebenita2010-07-281-0/+75
notify_message, make them use proxies, cache task proxies in dom.