"constant propagate" rust_new_exit_task_glue to its only use.

This commit is contained in:
Rafael Ávila de Espíndola
2011-05-24 15:51:22 -04:00
parent fbc0e840e3
commit fe90159b86
7 changed files with 12 additions and 20 deletions

View File

@@ -53,8 +53,7 @@ rust_task_test::worker::run() {
rust_handle<rust_dom> *handle =
kernel->create_domain(crate, "test");
rust_dom *domain = handle->referent();
domain->root_task->start((uintptr_t)rust_new_exit_task_glue,
(uintptr_t)&task_entry, (uintptr_t)NULL, 0);
domain->root_task->start((uintptr_t)&task_entry, (uintptr_t)NULL, 0);
domain->start_main_loop();
kernel->destroy_domain(domain);
}