rt: Remove rust_task::yield. Unused

This commit is contained in:
Brian Anderson 2011-11-17 15:27:50 -08:00
parent 5e9f9e8c48
commit d52888f0ba
2 changed files with 0 additions and 8 deletions

View File

@ -269,11 +269,6 @@ rust_task::grow(size_t n_frame_bytes)
}
void
rust_task::yield() {
yield(0);
}
// Only run this on the rust stack
void
rust_task::yield(size_t time_in_us) {

View File

@ -164,9 +164,6 @@ rust_task : public kernel_owned<rust_task>, rust_cond
// Print a backtrace, if the "bt" logging option is on.
void backtrace();
// Save callee-saved registers and return to the main loop.
void yield();
// Yields for a specified duration of time.
void yield(size_t time_in_ms);