diff options
| author | Brian Anderson <banderson@mozilla.com> | 2013-01-21 19:22:55 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2013-01-23 17:35:34 -0800 |
| commit | cc9ab2c0339aa00566ee6c5d12383278c7bd7eef (patch) | |
| tree | f45ae66e7ce00c66cae3c793d088250a4af8003b /src/rt/rust_kernel.h | |
| parent | a3e087cefacb1b92476543fe7d6ef68f0ca82dd8 (diff) | |
| download | rust-cc9ab2c0339aa00566ee6c5d12383278c7bd7eef.tar.gz rust-cc9ab2c0339aa00566ee6c5d12383278c7bd7eef.zip | |
Remove old comm-based weak task interface
Diffstat (limited to 'src/rt/rust_kernel.h')
| -rw-r--r-- | src/rt/rust_kernel.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/rt/rust_kernel.h b/src/rt/rust_kernel.h index 8ba0405b86e..c25cef9fef9 100644 --- a/src/rt/rust_kernel.h +++ b/src/rt/rust_kernel.h @@ -119,14 +119,9 @@ class rust_kernel { // An atomically updated count of the live, 'non-weak' tasks uintptr_t non_weak_tasks; - // Protects weak_task_chans - lock_and_signal weak_task_lock; - // A list of weak tasks that need to be told when to exit - std::vector<rust_port_id> weak_task_chans; rust_scheduler* get_scheduler_by_id_nolock(rust_sched_id id); void allow_scheduler_exit(); - void end_weak_tasks(); void begin_shutdown(); lock_and_signal at_exit_lock; @@ -180,8 +175,6 @@ public: void register_task(); void unregister_task(); - void weaken_task(rust_port_id chan); - void unweaken_task(rust_port_id chan); void inc_weak_task_count(); void dec_weak_task_count(); |
