auto merge of #4852 : Caseus/rust/issue-4836, r=brson

Simple removal of rust_compare_and_swap_ptr from rt, as per Issue #4836
This commit is contained in:
bors 2013-02-09 11:07:13 -08:00
commit 19dfec2aaf
2 changed files with 0 additions and 7 deletions

View File

@ -776,12 +776,6 @@ rust_osmain_sched_id() {
return task->kernel->osmain_sched_id();
}
extern "C" CDECL bool
rust_compare_and_swap_ptr(intptr_t *address,
intptr_t oldval, intptr_t newval) {
return sync::compare_and_swap(address, oldval, newval);
}
extern "C" void
rust_task_inhibit_kill(rust_task *task) {
task->inhibit_kill();

View File

@ -154,7 +154,6 @@ rust_dbg_call
rust_dbg_do_nothing
rust_dbg_breakpoint
rust_osmain_sched_id
rust_compare_and_swap_ptr
rust_task_inhibit_kill
rust_task_allow_kill
rust_task_inhibit_yield