Change from 'spawner' to 'supervisor' in rust_task, and add an unsupervise call.

This commit is contained in:
Graydon Hoare
2010-07-05 14:43:40 -07:00
parent 3175c83ff0
commit b1eeb9b825
4 changed files with 24 additions and 6 deletions

View File

@@ -86,6 +86,11 @@ gc(rust_task *task) {
task->gc(1);
}
extern "C" CDECL void
unsupervise(rust_task *task) {
task->unsupervise();
}
extern "C" CDECL rust_vec*
vec_alloc(rust_task *task, type_desc *t, size_t n_elts)
{