Sv: Sv: Limit for number of child processes

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Aug 28 17:39:50 GMT 2020


On Aug 28 12:02, Ken Brown via Cygwin wrote:
> On 8/28/2020 9:36 AM, Corinna Vinschen wrote:
> > As POC, I added a bit of code to maintain a second array, which is only
> > allocated (using HeapAlloc so as not to spill into the child processes)
> 
> Should there be a call to HeapFree somewhere, or is there some reason this
> isn't needed?

It's local memory in a single process, and it's allocated only once.
There's no reason to shrink or free this ever again.


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer


More information about the Cygwin mailing list