mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
rt: Remove rust_task::grow. Obsolete
This commit is contained in:
parent
2841ce7822
commit
128621be97
@ -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) {
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user