projects
/
model-checker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88fb552
)
move thread stack to thread allocator
author
bdemsky
<bdemsky@uci.edu>
Thu, 9 Apr 2015 06:03:47 +0000
(23:03 -0700)
committer
bdemsky
<bdemsky@uci.edu>
Thu, 9 Apr 2015 06:03:47 +0000
(23:03 -0700)
threads.cc
patch
|
blob
|
history
diff --git
a/threads.cc
b/threads.cc
index a0bc02970aa9ff71c6e8e1a04f6565d52b6db43a..a06af84636978f1bbd31f960c0c2368d79fc609a 100644
(file)
--- 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);
}
/**