vfork alternatives?

Brian Dessent brian@dessent.net
Tue Jan 10 17:04:00 GMT 2006


Brian Ford wrote:

> We have an application that mmaps a *huge* MAP_PRIVATE|MAP_ANON virtual
> address scratch space.  It also needs to occasionally fork/exec a sub
> process.  Unfortunately, the time and virtual memory required for Cygwin
> to copy this region to the forked child just so it can throw it away and
> do an exec is prohibitive if it's even possible.

How about the the spawn*() family of functions?

Brian


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list