diff options
| author | Graydon Hoare <[email protected]> | 2010-07-05 14:43:40 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-07-05 14:43:40 -0700 |
| commit | b1eeb9b8256f42c9525832b6126a0e47d675e11e (patch) | |
| tree | 42a6d5593203f590af6d663212c759eaaa471807 /src/rt/rust_builtin.cpp | |
| parent | Un-XFAIL mutable-alias-vec.rs. Was only failing due to a typo, but a more tho... (diff) | |
| download | rust-b1eeb9b8256f42c9525832b6126a0e47d675e11e.tar.xz rust-b1eeb9b8256f42c9525832b6126a0e47d675e11e.zip | |
Change from 'spawner' to 'supervisor' in rust_task, and add an unsupervise call.
Diffstat (limited to 'src/rt/rust_builtin.cpp')
| -rw-r--r-- | src/rt/rust_builtin.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp index 091ba9c9..339452c5 100644 --- a/src/rt/rust_builtin.cpp +++ b/src/rt/rust_builtin.cpp @@ -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) { |