diff options
| author | Michael Bebenita <[email protected]> | 2010-09-07 18:39:07 -0700 |
|---|---|---|
| committer | Michael Bebenita <[email protected]> | 2010-09-07 18:44:12 -0700 |
| commit | de611a309006f0976bc9a579eb1087e7a89f79a7 (patch) | |
| tree | cd30b33ab1986c0cc84e0fc0743593bd99b0caaa /src/rt/rust_task.h | |
| parent | Started work on a framework for writing runtime tests, added some simple test... (diff) | |
| download | rust-de611a309006f0976bc9a579eb1087e7a89f79a7.tar.xz rust-de611a309006f0976bc9a579eb1087e7a89f79a7.zip | |
Lots of design changes around proxies and message passing. Made it so that domains can only talk to other domains via handles, and with the help of the rust_kernel.
Diffstat (limited to 'src/rt/rust_task.h')
| -rw-r--r-- | src/rt/rust_task.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rt/rust_task.h b/src/rt/rust_task.h index 9a4e0c7b..383707f0 100644 --- a/src/rt/rust_task.h +++ b/src/rt/rust_task.h @@ -50,6 +50,7 @@ rust_task : public maybe_proxy<rust_task>, rust_task(rust_dom *dom, rust_task *spawner, const char *name); + ~rust_task(); void start(uintptr_t exit_task_glue, @@ -110,6 +111,8 @@ rust_task : public maybe_proxy<rust_task>, // Notify tasks waiting for us that we are about to die. void notify_tasks_waiting_to_join(); + rust_handle<rust_task> * get_handle(); + uintptr_t get_fp(); uintptr_t get_previous_fp(uintptr_t fp); frame_glue_fns *get_frame_glue_fns(uintptr_t fp); |