mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-30 00:23:41 +00:00
auto merge of #8475 : kmcallister/rust/stack_segment, r=brson,brson
Servo needs to tell SpiderMonkey about the stack bounds. r? @brson
This commit is contained in:
commit
9f379329db
@ -112,7 +112,7 @@ mod message_queue;
|
|||||||
mod sleeper_list;
|
mod sleeper_list;
|
||||||
|
|
||||||
/// Stack segments and caching.
|
/// Stack segments and caching.
|
||||||
mod stack;
|
pub mod stack;
|
||||||
|
|
||||||
/// CPU context swapping.
|
/// CPU context swapping.
|
||||||
mod context;
|
mod context;
|
||||||
|
@ -64,7 +64,7 @@ pub struct Coroutine {
|
|||||||
/// The segment of stack on which the task is currently running or
|
/// The segment of stack on which the task is currently running or
|
||||||
/// if the task is blocked, on which the task will resume
|
/// if the task is blocked, on which the task will resume
|
||||||
/// execution.
|
/// execution.
|
||||||
priv current_stack_segment: StackSegment,
|
current_stack_segment: StackSegment,
|
||||||
/// Always valid if the task is alive and not running.
|
/// Always valid if the task is alive and not running.
|
||||||
saved_context: Context
|
saved_context: Context
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user