projects
/
c11tester.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2906f60
)
threads: fixup stack allocation (snapshotting...)
author
Brian Norris
<banorris@uci.edu>
Sat, 26 May 2012 00:14:18 +0000
(17:14 -0700)
committer
Brian Norris
<banorris@uci.edu>
Sat, 26 May 2012 00:14:18 +0000
(17:14 -0700)
threads.cc
patch
|
blob
|
history
diff --git
a/threads.cc
b/threads.cc
index bdeea6a0e0c34c573df705d3874f8c81b8e8316b..37b0f1a87ee6fb9ac975a84c8df9adf018d808c5 100644
(file)
--- a/
threads.cc
+++ b/
threads.cc
@@
-9,12
+9,12
@@
static void * stack_allocate(size_t size)
{
- return
MYMALLOC
(size);
+ return
malloc
(size);
}
static void stack_free(void *stack)
{
-
MYFREE
(stack);
+
free
(stack);
}
Thread * thread_current(void)