projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PAGESIZE to PAGE_SIZE.
[reactos.git]
/
posix
/
lib
/
psxdll
/
pthread
/
create.c
diff --git
a/posix/lib/psxdll/pthread/create.c
b/posix/lib/psxdll/pthread/create.c
index
192173e
..
9670d36
100644
(file)
--- a/
posix/lib/psxdll/pthread/create.c
+++ b/
posix/lib/psxdll/pthread/create.c
@@
-1,4
+1,4
@@
-/* $Id: create.c,v 1.
2 2002/02/20 09:17:57 hyperion
Exp $
+/* $Id: create.c,v 1.
3 2002/10/18 21:56:39 ea
Exp $
*/
/*
* COPYRIGHT: See COPYING in the top level directory
*/
/*
* COPYRIGHT: See COPYING in the top level directory
@@
-63,10
+63,10
@@
int pthread_create(pthread_t *thread, const pthread_attr_t *attr,
itInitialTeb.StackReserve = 0x100000;
/* stack commit size */
itInitialTeb.StackReserve = 0x100000;
/* stack commit size */
- itInitialTeb.StackCommit = itInitialTeb.StackReserve - PAGESIZE;
+ itInitialTeb.StackCommit = itInitialTeb.StackReserve - PAGE
_
SIZE;
/* guard page */
/* guard page */
- itInitialTeb.StackCommit += PAGESIZE;
+ itInitialTeb.StackCommit += PAGE
_
SIZE;
/* reserve stack */
itInitialTeb.StackAllocate = NULL;
/* reserve stack */
itInitialTeb.StackAllocate = NULL;
@@
-118,7
+118,7
@@
int pthread_create(pthread_t *thread, const pthread_attr_t *attr,
(
NtCurrentProcess(),
itInitialTeb.StackLimit,
(
NtCurrentProcess(),
itInitialTeb.StackLimit,
- PAGESIZE,
+ PAGE
_
SIZE,
PAGE_GUARD | PAGE_READWRITE,
&nOldPageProtection
);
PAGE_GUARD | PAGE_READWRITE,
&nOldPageProtection
);