One exit_task_glue to rule them all.

This commit is contained in:
Rafael Ávila de Espíndola
2011-05-18 15:43:48 -04:00
parent 6a4a85f452
commit 96516e9ca2
8 changed files with 23 additions and 10 deletions

View File

@@ -53,7 +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(crate->get_exit_task_glue(),
domain->root_task->start((uintptr_t)rust_new_exit_task_glue,
(uintptr_t)&task_entry, (uintptr_t)NULL, 0);
domain->start_main_loop();
kernel->destroy_domain(domain);