diff options
| author | bors <bors@rust-lang.org> | 2013-08-04 18:10:53 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-08-04 18:10:53 -0700 |
| commit | dc5b0b94101a1fb9094b62ed1bb1b0be3b073fcc (patch) | |
| tree | 9213742ffdd773b77d3d31bd42304a71d876ad61 /src/libstd/rt/task.rs | |
| parent | 77bc6c59556cd13f88e18a53387b780bb1b6182d (diff) | |
| parent | 3f4c6cead67cedea5042d5ba84fb490dfee5462a (diff) | |
| download | rust-dc5b0b94101a1fb9094b62ed1bb1b0be3b073fcc.tar.gz rust-dc5b0b94101a1fb9094b62ed1bb1b0be3b073fcc.zip | |
auto merge of #8282 : brson/rust/more-newsched-fixes, r=brson
Diffstat (limited to 'src/libstd/rt/task.rs')
| -rw-r--r-- | src/libstd/rt/task.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/rt/task.rs b/src/libstd/rt/task.rs index abafe1cf209..ffe9f118b47 100644 --- a/src/libstd/rt/task.rs +++ b/src/libstd/rt/task.rs @@ -303,7 +303,7 @@ impl Task { impl Drop for Task { fn drop(&self) { rtdebug!("called drop for a task: %u", borrow::to_uint(self)); - assert!(self.destroyed) + rtassert!(self.destroyed) } } @@ -313,7 +313,7 @@ impl Drop for Task { impl Coroutine { pub fn new(stack_pool: &mut StackPool, start: ~fn()) -> Coroutine { - static MIN_STACK_SIZE: uint = 2000000; // XXX: Too much stack + static MIN_STACK_SIZE: uint = 3000000; // XXX: Too much stack let start = Coroutine::build_start_wrapper(start); let mut stack = stack_pool.take_segment(MIN_STACK_SIZE); |
