public inbox for pthreads-win32@sourceware.org
 help / color / mirror / Atom feed
From: Rainer.Schiele@fiducia.de
To: pthreads-win32@sources.redhat.com
Subject: Memory leak using detaching over Thread-Attributes
Date: Thu, 18 Mar 2004 14:31:00 -0000	[thread overview]
Message-ID: <OFE55975B1.6403C388-ONC1256E5B.004F37DE@fiducia.de> (raw)

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



             reply	other threads:[~2004-03-18 14:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-18 14:31 Rainer.Schiele [this message]
2004-03-18 15:20 ` Steve Coleman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=OFE55975B1.6403C388-ONC1256E5B.004F37DE@fiducia.de \
    --to=rainer.schiele@fiducia.de \
    --cc=pthreads-win32@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).