rt: Remove rust_task::grow. Obsolete

This commit is contained in:
Brian Anderson 2011-12-20 20:01:50 -08:00
parent 2841ce7822
commit 128621be97
2 changed files with 0 additions and 11 deletions

View File

@ -397,16 +397,6 @@ void rust_task::start()
sched->lock.signal();
}
void
rust_task::grow(size_t n_frame_bytes)
{
// FIXME (issue #151): Just fail rather than almost certainly crashing
// mysteriously later. The commented-out logic below won't work at all in
// the presence of non-word-aligned pointers.
abort();
}
// Only run this on the rust stack
void
rust_task::yield(size_t time_in_us, bool *killed) {

View File

@ -138,7 +138,6 @@ rust_task : public kernel_owned<rust_task>, rust_cond
void start(uintptr_t spawnee_fn,
uintptr_t args);
void start();
void grow(size_t n_frame_bytes);
bool running();
bool blocked();
bool blocked_on(rust_cond *cond);