* cygthread.cc (cygthread::operator new): Just use getenv() to look for
CYGWIN_FREERANGE_NOCHECK since the Windows environment may be truncated by being previously execed.
This commit is contained in:
parent
574c2ba2a3
commit
faf4210542
|
@ -1,3 +1,9 @@
|
||||||
|
2005-09-21 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
|
* cygthread.cc (cygthread::operator new): Just use getenv() to look for
|
||||||
|
CYGWIN_FREERANGE_NOCHECK since the Windows environment may be truncated
|
||||||
|
by being previously execed.
|
||||||
|
|
||||||
2005-09-20 Christopher Faylor <cgf@timesys.com>
|
2005-09-20 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
* spawn.cc (av::fixup): Just blindly run any file if it has a .bat or
|
* spawn.cc (av::fixup): Just blindly run any file if it has a .bat or
|
||||||
|
|
|
@ -153,11 +153,10 @@ new (size_t)
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef DEBUGGING
|
#ifdef DEBUGGING
|
||||||
char buf[1024];
|
if (!getenv ("CYGWIN_FREERANGE_NOCHECK"))
|
||||||
if (!GetEnvironmentVariable ("CYGWIN_FREERANGE_NOCHECK", buf, sizeof (buf)))
|
api_fatal ("overflowed cygwin thread pool");
|
||||||
api_fatal ("Overflowed cygwin thread pool");
|
|
||||||
else
|
else
|
||||||
thread_printf ("Overflowed cygwin thread pool");
|
thread_printf ("overflowed cygwin thread pool");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
info = freerange (); /* exhausted thread pool */
|
info = freerange (); /* exhausted thread pool */
|
||||||
|
|
Loading…
Reference in New Issue