Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2011-05-20 22:15:12 +0400
committerCorinna Vinschen <corinna@vinschen.de>2011-05-20 22:15:12 +0400
commitabb205a9fa39a8dfeea78374c230558b9c38553e (patch)
tree391d8042553c949ac49af05229f3564d5f6c558f /winsup/cygwin/miscfuncs.cc
parent5a755a94719f73c72446508d1f69dd37aeb11305 (diff)
* miscfuncs.cc (CygwinCreateThread): Add accidentally missing comment.
Diffstat (limited to 'winsup/cygwin/miscfuncs.cc')
-rw-r--r--winsup/cygwin/miscfuncs.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/miscfuncs.cc b/winsup/cygwin/miscfuncs.cc
index af0a355da..98db1f591 100644
--- a/winsup/cygwin/miscfuncs.cc
+++ b/winsup/cygwin/miscfuncs.cc
@@ -527,6 +527,7 @@ CygwinCreateThread (LPTHREAD_START_ROUTINE thread_func, PVOID thread_arg,
real_stacksize = PTHREAD_STACK_MIN;
if (stackaddr)
{
+ /* If the application provided the stack, just use it. */
wrapper_arg->stackaddr = (char *) stackaddr;
wrapper_arg->stackbase = (char *) stackaddr + real_stacksize;
}