cygthread::cygthread() hang
Joe Buehler
jbuehler@hekimian.com
Wed Apr 9 18:47:00 GMT 2003
Christopher Faylor wrote:
> If it's just the simple change that you mentioned, I'll take care of
> it.
It's trivial:
--- winsup/cygwin/cygthread.cc 2003-04-07 15:23:49.000000000 -0400
+++ winsup/cygwin/cygthread.cc 2003-04-08 11:05:02.000000000 -0400
@@ -255,7 +268,7 @@
(void) VirtualQuery (stack_ptr, &m, sizeof m);
if (m.RegionSize)
- (void) VirtualFree (m.AllocationBase, m.RegionSize, MEM_DECOMMIT);
+ (void) VirtualFree (m.AllocationBase, 0, MEM_RELEASE);
if (is_freerange)
is_freerange = false;
--
Joe Buehler
More information about the Cygwin-developers
mailing list