Changeset 0aae87a6 in mainline for uspace/lib/c/generic/thread.c
- Timestamp:
- 2012-11-09T19:33:11Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 67b152e
- Parents:
- 3b8a990
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/thread.c
r3b8a990 r0aae87a6 39 39 #include <abi/proc/uarg.h> 40 40 #include <fibril.h> 41 #include <stack.h> 41 42 #include <str.h> 42 43 #include <async.h> … … 101 102 return ENOMEM; 102 103 103 size_t stack_size = getpagesize() * THREAD_INITIAL_STACK_PAGES;104 size_t stack_size = stack_size_get(); 104 105 void *stack = as_area_create(AS_AREA_ANY, stack_size, 105 106 AS_AREA_READ | AS_AREA_WRITE | AS_AREA_CACHEABLE | AS_AREA_GUARD |
Note:
See TracChangeset
for help on using the changeset viewer.