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_builtin.cpp | |
| parent | a3e087cefacb1b92476543fe7d6ef68f0ca82dd8 (diff) | |
| download | rust-cc9ab2c0339aa00566ee6c5d12383278c7bd7eef.tar.gz rust-cc9ab2c0339aa00566ee6c5d12383278c7bd7eef.zip | |
Remove old comm-based weak task interface
Diffstat (limited to 'src/rt/rust_builtin.cpp')
| -rw-r--r-- | src/rt/rust_builtin.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp index 327337f441d..4fcfc11b325 100644 --- a/src/rt/rust_builtin.cpp +++ b/src/rt/rust_builtin.cpp @@ -858,18 +858,6 @@ rust_compare_and_swap_ptr(intptr_t *address, return sync::compare_and_swap(address, oldval, newval); } -extern "C" CDECL void -rust_task_weaken(rust_port_id chan) { - rust_task *task = rust_get_current_task(); - task->kernel->weaken_task(chan); -} - -extern "C" CDECL void -rust_task_unweaken(rust_port_id chan) { - rust_task *task = rust_get_current_task(); - task->kernel->unweaken_task(chan); -} - extern "C" void rust_task_inhibit_kill(rust_task *task) { task->inhibit_kill(); |
