From: Steve Croall <SCroall@staffware.com>
To: 'Paul Redondo' <paul@matchvision.com>,
ML Pthreads-Win32 <pthreads-win32@sourceware.cygnus.com>
Subject: RE: Handle leak ?
Date: Thu, 20 Jul 2000 03:28:00 -0000 [thread overview]
Message-ID: <C34DD685BB91D111835900600855142B8ED437@PANDORA> (raw)
Paul,
Do you "join"/"detach" to/from the thread after creating it? If not the
resources used by the thread are not cleared up.
Look at pthread_join() and pthread_detach() MAN pages.
Steve.
-----Original Message-----
From: Paul Redondo [ mailto:paul@matchvision.com ]
Sent: 20 July 2000 11:16
To: ML Pthreads-Win32
Subject: Handle leak ?
Hi there.
Did anybody noticed a huge handle leak when creating lots of detached
threads ?
I've been creating lots of detached threads during 24 hours, and the NT Task
Manager shows me an incredible amount of opened handles. Ok, my code may be
wrong ;-P But, it may not.
So, anybody else encountered this problem ?
C.U.
--
Paul Redondo - paul@matchvision.com - +33 6 16300303 / +33 6 16309014
MatchVision's R&D Team - http://www.matchvision.com
next reply other threads:[~2000-07-20 3:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-07-20 3:28 Steve Croall [this message]
2000-07-20 16:56 ` David Baggett
2000-07-21 0:02 ` pthreads comments and suggestions [was: Re: Handle leak ?] Tristan Savatier
2000-07-21 14:09 ` David Baggett
2000-07-23 18:01 ` David Baggett
2000-07-24 0:37 ` Paul Redondo
2000-07-24 0:50 ` Ross Johnson
-- strict thread matches above, loose matches on Subject: below --
2000-07-20 3:18 Handle leak ? Paul Redondo
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=C34DD685BB91D111835900600855142B8ED437@PANDORA \
--to=scroall@staffware.com \
--cc=paul@matchvision.com \
--cc=pthreads-win32@sourceware.cygnus.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).