This is the mail archive of the pthreads-win32@sources.redhat.com 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]

Memory leak using detaching over Thread-Attributes


Hello,

I'm encounter an problem that an memory leak occur (and also the Windows Handles
run out), when I detach an Thread with the Thread-Attributes on pthread_create
using pthread_attr_init and pthread_setdetachstate.

Using another approach creating an Thread with pthread_create (attr == NULL) and
calls then pthread_detach on the Thread-ID no leak occur.

I'm using Windows XP, MinGW-3.1.0-1, MSYS-1.0.9.

Looking in the code i found nothing special.

Any Hints?

Thanks Rainer




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