This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Failure with fork()
- From: Arjen Markus <arjen dot markus895 at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 27 Jun 2013 13:34:04 +0200
- Subject: Re: Failure with fork()
- References: <CAMCbSMqcCEUhjiSsv8CvP1LUdxEHgyS4jJvLjzkSCACAuQ9e2w at mail dot gmail dot com> <51CC2018 dot 2010608 at cs dot utoronto dot ca> <20130627112718 dot GC25217 at calimero dot vinschen dot de>
According to the original thread it has to do with handling the stack.
The small program is
meant to show that there is a discrepancy between the way Cygwin
handles this versus
the way Linux does that - something to do with accessing more memory
pages than expected,
but this is not an area I am familiar with ;).
> It dies after somewhat below 500 forks and I think I found the reason.
> Stay tuned.
>
I will. It would be great if this can be solved.
Regards,
Arjen
--
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