cygthread::cygthread() hang

Christopher Faylor cgf@redhat.com
Wed Apr 9 17:16:00 GMT 2003


On Wed, Apr 09, 2003 at 01:08:37PM -0400, Joe Buehler wrote:
>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"

And that solves your problem, then?

cgf



More information about the Cygwin-developers mailing list