CVS: winex/scheduler thread.c,1.35,1.36
[email protected] 31 Jul 2007 19:52:50 -0000
| Newsgroups | gmane.comp.emulators.winex.cvs |
|---|---|
| Message-ID | <[email protected]> |
Subject: winex/scheduler thread.c,1.35,1.36Update of /var/lib/cvsd/cvsroot/winex/scheduler
In directory agravaine:/tmp/cvs-serv1445/scheduler
Modified Files:
thread.c
Log Message:
- fix stack_low to take guard pages & signal stack into account
Index: thread.c
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/scheduler/thread.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- thread.c 29 Mar 2007 14:09:14 -0000 1.35
+++ thread.c 31 Jul 2007 19:52:48 -0000 1.36
@@ -233,7 +233,7 @@
teb->debug_info = (char *)teb + page_size;
}
- teb->stack_low = base;
+ teb->stack_low = base + (3 * page_size) + sig_stack_size;
teb->stack_base = base;
teb->signal_stack = (char *)base + page_size;
teb->sig_stack_size = sig_stack_size;