aboutsummaryrefslogtreecommitdiff
path: root/src/rt/rust_log.h
Commit message (Collapse)AuthorAgeFilesLines
* rt: Consistently refer to structs as structs and classes as classes. Clang ↵Patrick Walton2011-05-081-2/+2
| | | | complains about this.
* Overhaul logging system in runtimeMarijn Haverbeke2011-04-191-55/+36
| | | | | | | | | | | | | | 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
* Update foregoing patches to leave rust_crate alone.Marijn Haverbeke2011-04-181-0/+2
| | | | | | | | | Apparently it can't live in the main binary, since on non-Linux platforms, dynamics libs won't find symbols in the binary. This removes the crate_map pointer from rust_crate again, and instead passes it as an extra argument to rust_start. Rustboot doesn't pass this argument, but supposedly that's okay as long as we don't actually use it on that platform.
* Avoid some gotchas with logging macrosBrian Anderson2011-04-071-12/+20
| | | | | I think this is sufficient to eliminate multiple evaluation and the possibility of accidental miscompilation from the logging macros.
* Move to macro-based logging checks in the C++ codeMarijn Haverbeke2011-04-071-0/+20
| | | | | No functions should be called for log statements that turn out to be inactive.
* Try to print backtraces on failurePatrick Walton2010-10-111-0/+1
|
* Added a few utility classes, cleaned up the include order of .h files, and ↵Michael Bebenita2010-09-071-2/+1
| | | | started to make the Rust kernel own domain message queues rather than the Rust domains themselves.
* Add a "special" rust_log flag to be used for debugging in cases where the ↵Michael Bebenita2010-08-171-0/+1
| | | | full log output prevents races from occurring.
* Add vec debugging utility to _vec module.Roy Frostig2010-08-121-0/+1
|
* Wrap long lines.Michael Bebenita2010-07-281-1/+2
|
* Log a separator when logging switches between threads.Michael Bebenita2010-07-281-1/+1
|
* Added a message passing system based on lock free queues for inter-thread ↵Michael Bebenita2010-07-191-14/+19
| | | | communication. Channels now buffer on the sending side, and no longer require blocking when sending. Lots of other refactoring and bug fixes.
* Move more of the GC logic into the runtime.Graydon Hoare2010-06-281-0/+1
|
* Populate tree.Graydon Hoare2010-06-231-0/+59