From eed5c0aa249f3e17bbabeeba1650ab699e3dff5a Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Fri, 25 Jun 2010 16:54:03 -0700 Subject: Add rust_task::gc(size_t args) method that drops us back into the GC glue. --- src/rt/rust_internal.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/rt/rust_internal.h') diff --git a/src/rt/rust_internal.h b/src/rt/rust_internal.h index 3c4fde2a..7f703012 100644 --- a/src/rt/rust_internal.h +++ b/src/rt/rust_internal.h @@ -660,6 +660,9 @@ rust_task : public rc_base, // Fail self, assuming caller-on-stack is this task. void fail(size_t nargs); + // Run the gc glue on the task stack. + void gc(size_t nargs); + // Notify tasks waiting for us that we are about to die. void notify_waiting_tasks(); -- cgit v1.2.3