From 657e5a2bd579f7f1698f8ba88cb1142ced7a477f Mon Sep 17 00:00:00 2001 From: Eric Holk Date: Tue, 28 Jun 2011 12:15:41 -0700 Subject: Renamed what's left of rust_dom to rust_scheduler --- src/rt/rust_log.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/rt/rust_log.cpp') diff --git a/src/rt/rust_log.cpp b/src/rt/rust_log.cpp index 01e92e1f23d..a2ab77b1b55 100644 --- a/src/rt/rust_log.cpp +++ b/src/rt/rust_log.cpp @@ -23,9 +23,9 @@ static const char * _foreground_colors[] = { "[37m", static lock_and_signal _log_lock; static uint32_t _last_thread_id; -rust_log::rust_log(rust_srv *srv, rust_dom *dom) : +rust_log::rust_log(rust_srv *srv, rust_scheduler *sched) : _srv(srv), - _dom(dom), + _sched(sched), _use_colors(getenv("RUST_COLOR_LOG")) { } @@ -104,12 +104,12 @@ rust_log::trace_ln(rust_task *task, uint32_t level, char *message) { uint32_t thread_id = hash((uint32_t) pthread_self()); #endif char prefix[BUF_BYTES] = ""; - if (_dom && _dom->name) { + if (_sched && _sched->name) { append_string(prefix, "%04" PRIxPTR ":%.10s:", - thread_id, _dom->name); + thread_id, _sched->name); } else { append_string(prefix, "%04" PRIxPTR ":0x%08" PRIxPTR ":", - thread_id, (uintptr_t) _dom); + thread_id, (uintptr_t) _sched); } if (task) { if (task->name) { -- cgit 1.4.1-3-g733a5