diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-03-21 00:31:40 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-03-21 19:10:31 -0700 |
| commit | 8a145a601eb97f9d32572fed23030bc1bc319105 (patch) | |
| tree | 063c499965cdf2a0dcaaa599ff60d3d300acd5bd /src/rt/rust_task.h | |
| parent | 9ba712fb8b00eda702be71048cda748877111ea7 (diff) | |
rt: Don't swatch stacks during upcall_del_stack
Diffstat (limited to 'src/rt/rust_task.h')
| -rw-r--r-- | src/rt/rust_task.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rt/rust_task.h b/src/rt/rust_task.h index b96cfea7795..6d8cd013a1d 100644 --- a/src/rt/rust_task.h +++ b/src/rt/rust_task.h @@ -115,7 +115,6 @@ private: void delete_this(); void new_stack(size_t sz); - void del_stack(); void free_stack(stk_seg *stk); size_t get_next_stack_size(size_t min, size_t current, size_t requested); @@ -209,6 +208,8 @@ public: rust_task_state get_state() { return state; } rust_cond *get_cond() { return cond; } const char *get_cond_name() { return cond_name; } + + void cleanup_after_turn(); }; // This stuff is on the stack-switching fast path |
