This is the mail archive of the pthreads-win32@sourceware.org mailing list for the pthreas-win32 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Memory leak with detached threads


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]