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]

Re: vfork alternatives?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]