* Memory leak using detaching over Thread-Attributes
@ 2004-03-18 14:31 Rainer.Schiele
2004-03-18 15:20 ` Steve Coleman
0 siblings, 1 reply; 2+ messages in thread
From: Rainer.Schiele @ 2004-03-18 14:31 UTC (permalink / raw)
To: pthreads-win32
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Memory leak using detaching over Thread-Attributes
2004-03-18 14:31 Memory leak using detaching over Thread-Attributes Rainer.Schiele
@ 2004-03-18 15:20 ` Steve Coleman
0 siblings, 0 replies; 2+ messages in thread
From: Steve Coleman @ 2004-03-18 15:20 UTC (permalink / raw)
To: Rainer.Schiele; +Cc: pthreads-win32
Rainer.Schiele@fiducia.de wrote:
> I'm encounter an problem that an memory leak occur
> Any Hints?
man pthread_attr_destroy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-03-18 15:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-18 14:31 Memory leak using detaching over Thread-Attributes Rainer.Schiele
2004-03-18 15:20 ` Steve Coleman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).