Remove old comm-based weak task interface
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user