This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Thanks for the explanation.Can anyone tell me how to invoke a program from a big-stack program ...The problem is not spawning the new executable. The problem is ...
And thanks for the very accurate file/line references into the Cygwin source. I first tried making a patch but lost track in spawn.cc.... 955 cygthread *h = new cygthread (proc_waiter, 0, this, "proc_waiter"); ...
It's possible we could tweak cygwin to not use the default thread stack size for these internal threads.
If you want a workaround, you could try leaving the default thread size in your executable, and in your main() function use pthread_create to spawn a worker thread to do the real processing, having set a large stacksize for it using the related pthread_attr_setstacksize function.
On the Vista machine I did cygcheck -s -v -r > cygcheck.out I stopped it after it had generated 10MB of output...
Hmm, are you running with a slightly outdated version? ...
Cheers, Klaus
-- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |