Get rid of some unused upcalls

I guess these became obsolete when the communication stuff moved into
the stdlib.
This commit is contained in:
Marijn Haverbeke
2011-09-09 14:02:07 +02:00
parent bd2ec03771
commit 139b1d1b31
4 changed files with 3 additions and 66 deletions

View File

@@ -160,11 +160,9 @@ rand_free(rust_task *task, randctx *rctx)
task->free(rctx);
}
extern "C" CDECL void upcall_sleep(rust_task *task, size_t time_in_us);
extern "C" CDECL void
task_sleep(rust_task *task, size_t time_in_us) {
upcall_sleep(task, time_in_us);
task->yield(time_in_us);
}
extern "C" CDECL void