rt: Remove rust_task::grow. Obsolete
This commit is contained in:
@@ -397,16 +397,6 @@ void rust_task::start()
|
|||||||
sched->lock.signal();
|
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
|
// Only run this on the rust stack
|
||||||
void
|
void
|
||||||
rust_task::yield(size_t time_in_us, bool *killed) {
|
rust_task::yield(size_t time_in_us, bool *killed) {
|
||||||
|
|||||||
@@ -138,7 +138,6 @@ rust_task : public kernel_owned<rust_task>, rust_cond
|
|||||||
void start(uintptr_t spawnee_fn,
|
void start(uintptr_t spawnee_fn,
|
||||||
uintptr_t args);
|
uintptr_t args);
|
||||||
void start();
|
void start();
|
||||||
void grow(size_t n_frame_bytes);
|
|
||||||
bool running();
|
bool running();
|
||||||
bool blocked();
|
bool blocked();
|
||||||
bool blocked_on(rust_cond *cond);
|
bool blocked_on(rust_cond *cond);
|
||||||
|
|||||||
Reference in New Issue
Block a user