about summary refs log tree commit diff
path: root/src/rt/rust_chan.cpp
AgeCommit message (Collapse)AuthorLines
2011-04-19Overhaul logging system in runtimeMarijn Haverbeke-9/+7
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
2011-04-07Move to macro-based logging checks in the C++ codeMarijn Haverbeke-5/+5
No functions should be called for log statements that turn out to be inactive.
2010-09-07Lots of design changes around proxies and message passing. Made it so that ↵Michael Bebenita-13/+12
domains can only talk to other domains via handles, and with the help of the rust_kernel.
2010-08-09Synthesize a flush_chan upcall right before a channel's ref_count drops to ↵Michael Bebenita-7/+20
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-30/+51
system use it (and proxies) instead of existing token scheme.
2010-07-28Add modeline / file-local emacs var blocks.Michael Bebenita-0/+11
2010-07-28Wrap long lines.Michael Bebenita-2/+2
2010-07-19Added a message passing system based on lock free queues for inter-thread ↵Michael Bebenita-13/+41
communication. Channels now buffer on the sending side, and no longer require blocking when sending. Lots of other refactoring and bug fixes.
2010-06-23Populate tree.Graydon Hoare-0/+34