aboutsummaryrefslogtreecommitdiff
path: root/src/rt/rust_util.h
Commit message (Collapse)AuthorAgeFilesLines
* Overhaul logging system in runtimeMarijn Haverbeke2011-04-191-6/+4
| | | | | | | | | | | | | | 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
* Move to macro-based logging checks in the C++ codeMarijn Haverbeke2011-04-071-2/+2
| | | | | No functions should be called for log statements that turn out to be inactive.
* Change rust_vec to have a 16-byte header, to 16-byte-align vec-body data. ↵Graydon Hoare2011-04-021-0/+1
| | | | Major perf win.
* Add basic file-system functionalityMarijn Haverbeke2011-03-141-4/+1
| | | | | std.fs.list_dir will list the files in a directory, std.fs.file_is_dir will, given a pathname, determine whether it is a directory or not.
* Added peek() to ptr_vec.Michael Bebenita2010-08-091-0/+7
|
* Added the RUST_SEED env variable to seed the Rust task scheduler -- helpful ↵Michael Bebenita2010-08-091-5/+14
| | | | when debugging task race conditions within a single thread domain.
* Attempt number 1 at extinguishing the windows tree remotely (apologies to ↵Roy Frostig2010-07-251-3/+3
| | | | those hacking on Sunday evening PST).
* Expose an RNG (the one used by our runtime) to Rust via std.Roy Frostig2010-07-251-0/+32
|
* Added a message passing system based on lock free queues for inter-thread ↵Michael Bebenita2010-07-191-2/+2
| | | | communication. Channels now buffer on the sending side, and no longer require blocking when sending. Lots of other refactoring and bug fixes.
* Populate tree.Graydon Hoare2010-06-231-0/+155