diff options
| author | Salem Talha <salem.a.talha@gmail.com> | 2014-01-26 03:43:42 -0500 |
|---|---|---|
| committer | Salem Talha <salem.a.talha@gmail.com> | 2014-01-26 14:42:53 -0500 |
| commit | cc61fc09945aeec6fc71a07e91b8610fa71f6425 (patch) | |
| tree | 28b2a4a2742d0f8fa29c19bca7b6f35f441a7a2a /src/libgreen | |
| parent | 838b5a4cc072057f31453cdd1b50345f92e1a772 (diff) | |
| download | rust-cc61fc09945aeec6fc71a07e91b8610fa71f6425.tar.gz rust-cc61fc09945aeec6fc71a07e91b8610fa71f6425.zip | |
Removed all instances of XXX in preparation for relaxing of FIXME rule
Diffstat (limited to 'src/libgreen')
| -rw-r--r-- | src/libgreen/basic.rs | 2 | ||||
| -rw-r--r-- | src/libgreen/macros.rs | 4 | ||||
| -rw-r--r-- | src/libgreen/sched.rs | 6 | ||||
| -rw-r--r-- | src/libgreen/stack.rs | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/src/libgreen/basic.rs b/src/libgreen/basic.rs index ef96f554515..f303f100e03 100644 --- a/src/libgreen/basic.rs +++ b/src/libgreen/basic.rs @@ -139,7 +139,7 @@ impl EventLoop for BasicLoop { self.work.push(f); } - // XXX: Seems like a really weird requirement to have an event loop provide. + // FIXME: Seems like a really weird requirement to have an event loop provide. fn pausable_idle_callback(&mut self, cb: ~Callback) -> ~PausableIdleCallback { let callback = ~BasicPausable::new(self, cb); rtassert!(self.idle.is_none()); diff --git a/src/libgreen/macros.rs b/src/libgreen/macros.rs index 12def918bc9..e07cc1ca000 100644 --- a/src/libgreen/macros.rs +++ b/src/libgreen/macros.rs @@ -8,14 +8,14 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -// XXX: this file probably shouldn't exist +// FIXME: this file probably shouldn't exist #[macro_escape]; use std::fmt; // Indicates whether we should perform expensive sanity checks, including rtassert! -// XXX: Once the runtime matures remove the `true` below to turn off rtassert, etc. +// FIXME: Once the runtime matures remove the `true` below to turn off rtassert, etc. pub static ENFORCE_SANITY: bool = true || !cfg!(rtopt) || cfg!(rtdebug) || cfg!(rtassert); macro_rules! rterrln ( diff --git a/src/libgreen/sched.rs b/src/libgreen/sched.rs index 989b8dc31f8..8fa1e6732dc 100644 --- a/src/libgreen/sched.rs +++ b/src/libgreen/sched.rs @@ -32,7 +32,7 @@ use task::{TypeSched, GreenTask, HomeSched, AnySched}; /// struct. The scheduler struct acts like a baton, all scheduling /// actions are transfers of the baton. /// -/// XXX: This creates too many callbacks to run_sched_once, resulting +/// FIXME: This creates too many callbacks to run_sched_once, resulting /// in too much allocation and too many events. pub struct Scheduler { /// ID number of the pool that this scheduler is a member of. When @@ -171,7 +171,7 @@ impl Scheduler { return sched; } - // XXX: This may eventually need to be refactored so that + // FIXME: This may eventually need to be refactored so that // the scheduler itself doesn't have to call event_loop.run. // That will be important for embedding the runtime into external // event loops. @@ -898,7 +898,7 @@ impl CleanupJob { } } -// XXX: Some hacks to put a || closure in Scheduler without borrowck +// FIXME: Some hacks to put a || closure in Scheduler without borrowck // complaining type UnsafeTaskReceiver = raw::Closure; trait ClosureConverter { diff --git a/src/libgreen/stack.rs b/src/libgreen/stack.rs index bc2c199b83f..4b3db5ef8ed 100644 --- a/src/libgreen/stack.rs +++ b/src/libgreen/stack.rs @@ -61,7 +61,7 @@ impl Stack { valgrind_id: 0 }; - // XXX: Using the FFI to call a C macro. Slow + // FIXME: Using the FFI to call a C macro. Slow stk.valgrind_id = unsafe { rust_valgrind_stack_register(stk.start(), stk.end()) }; @@ -117,7 +117,7 @@ fn protect_last_page(stack: &MemoryMap) -> bool { impl Drop for Stack { fn drop(&mut self) { unsafe { - // XXX: Using the FFI to call a C macro. Slow + // FIXME: Using the FFI to call a C macro. Slow rust_valgrind_stack_deregister(self.valgrind_id); } } |
