Changeset fcd10af in mainline for libc/generic/thread.c
- Timestamp:
- 2006-04-09T19:08:16Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c9857c6
- Parents:
- a7818c26
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libc/generic/thread.c
ra7818c26 rfcd10af 36 36 37 37 #include <stdio.h> 38 39 40 #ifndef THREAD_INITIAL_STACK_PAGES_NO 41 #define THREAD_INITIAL_STACK_PAGES_NO 1 42 #endif 43 38 44 39 45 extern char _tdata_start; … … 110 116 uspace_arg_t *uarg; 111 117 112 stack = (char *) malloc(getpagesize() );118 stack = (char *) malloc(getpagesize()*THREAD_INITIAL_STACK_PAGES_NO); 113 119 if (!stack) 114 120 return -1;
Note:
See TracChangeset
for help on using the changeset viewer.