cygthread::cygthread() hang

Robert Collins
Wed Apr 9 13:53:00 GMT 2003

On Wed, 2003-04-09 at 23:49, Joe Buehler wrote:
> Sigh -- it's not as simple as a thread leak.  The threads are
> being reused properly: there are only a couple dozen different
> thread handles showing up over a 90 second period (about 800
> calls to cygthread::new()).  Now to figure out what exactly
> is leaking...

Check stack depth. That *might* have something to do with it.

Also, there are quite severe limits on the number of native threads (in
the order of 30 IIRC) with the default per-thread stack size.

GPG key available at: <>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the Cygwin-developers mailing list