Handle leak ?
Steve Croall
SCroall@staffware.com
Thu Jul 20 03:28:00 GMT 2000
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
More information about the Pthreads-win32
mailing list