Memory leak with detached threads

Stephen Croall scroall@tibco.com
Sun Oct 29 19:02:00 GMT 2006


DOH!

Just realised that you are calling pthread_attr_setdetachstate().  You
could change to calling pthread_detach() to see if the memory leak still
happens.  We use this call a lot in our code and have no problems with
leaks.

Steve.



More information about the Pthreads-win32 mailing list