cygthread::cygthread() hang

Robert Collins rbcollins@cygwin.com
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.

Rob
-- 
GPG key available at: <http://users.bigpond.net.au/robertc/keys.txt>.
-------------- 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: <http://cygwin.com/pipermail/cygwin-developers/attachments/20030409/111f2b8f/attachment.sig>


More information about the Cygwin-developers mailing list