From daa5636072c8e6211e33701ae3d399c04e847946 Mon Sep 17 00:00:00 2001 From: bdemsky Date: Wed, 8 Apr 2015 23:03:47 -0700 Subject: [PATCH] move thread stack to thread allocator --- threads.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/threads.cc b/threads.cc index a0bc029..a06af84 100644 --- a/threads.cc +++ b/threads.cc @@ -16,13 +16,13 @@ /** Allocate a stack for a new thread. */ static void * stack_allocate(size_t size) { - return snapshot_malloc(size); + return Thread_malloc(size); } /** Free a stack for a terminated thread. */ static void stack_free(void *stack) { - snapshot_free(stack); + Thread_free(stack); } /** -- 2.34.1