* miscfuncs.cc (CygwinCreateThread): Add accidentally missing comment.
This commit is contained in:
parent
5a755a9471
commit
abb205a9fa
@ -1,3 +1,7 @@
|
|||||||
|
2011-05-20 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* miscfuncs.cc (CygwinCreateThread): Add accidentally missing comment.
|
||||||
|
|
||||||
2011-05-20 Corinna Vinschen <corinna@vinschen.de>
|
2011-05-20 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* fhandler_process.cc (struct heap_info): Change type of base and end
|
* fhandler_process.cc (struct heap_info): Change type of base and end
|
||||||
|
@ -527,6 +527,7 @@ CygwinCreateThread (LPTHREAD_START_ROUTINE thread_func, PVOID thread_arg,
|
|||||||
real_stacksize = PTHREAD_STACK_MIN;
|
real_stacksize = PTHREAD_STACK_MIN;
|
||||||
if (stackaddr)
|
if (stackaddr)
|
||||||
{
|
{
|
||||||
|
/* If the application provided the stack, just use it. */
|
||||||
wrapper_arg->stackaddr = (char *) stackaddr;
|
wrapper_arg->stackaddr = (char *) stackaddr;
|
||||||
wrapper_arg->stackbase = (char *) stackaddr + real_stacksize;
|
wrapper_arg->stackbase = (char *) stackaddr + real_stacksize;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user