about summary refs log tree commit diff
path: root/src/rt/rust_task.cpp
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2011-08-16 19:48:47 -0700
committerPatrick Walton <pcwalton@mimiga.net>2011-08-16 19:49:25 -0700
commitd8c5bd61956924e041be240cff9458141ca74187 (patch)
tree71f7c31d0b1e9ac6e07f364569aac67b85a7545e /src/rt/rust_task.cpp
parentca82a690cf1cdd81aad0ce7e90551c04155538aa (diff)
downloadrust-d8c5bd61956924e041be240cff9458141ca74187.tar.gz
rust-d8c5bd61956924e041be240cff9458141ca74187.zip
rt: Implement obstacks, untested as of yet
Diffstat (limited to 'src/rt/rust_task.cpp')
-rw-r--r--src/rt/rust_task.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp
index c877d5e9941..b8269554237 100644
--- a/src/rt/rust_task.cpp
+++ b/src/rt/rust_task.cpp
@@ -75,7 +75,8 @@ rust_task::rust_task(rust_scheduler *sched, rust_task_list *state,
     local_region(&sched->srv->local_region),
     _on_wakeup(NULL),
     failed(false),
-    propagate_failure(true)
+    propagate_failure(true),
+    dynastack(this)
 {
     LOGPTR(sched, "new task", (uintptr_t)this);
     DLOG(sched, task, "sizeof(task) = %d (0x%x)", sizeof *this, sizeof *this);