cygthread::cygthread() hang

Joe Buehler jbuehler@hekimian.com
Wed Apr 9 17:08:00 GMT 2003


Pierre A. Humblet wrote:

> Shouldn't it simply be MEM_RELEASE? Right now the committed memory would
> change state to reserved, no freed.

You're correct.  The msdn documents are clearer than my book -- only one call
to VirtualFree() should be needed.  Two changes appear to be needed though:

- change from MEM_DECOMMIT to MEM_RELEASE
- change the region length to 0, meaning "the whole memory region"
-- 
Joe Buehler



More information about the Cygwin-developers mailing list