rt: Implement obstacks, untested as of yet

This commit is contained in:
Patrick Walton
2011-08-16 19:48:47 -07:00
parent ca82a690cf
commit d8c5bd6195
7 changed files with 137 additions and 1 deletions

View File

@@ -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);