You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by INOUE Seiichiro <in...@ariel-networks.com> on 2002/08/22 14:58:39 UTC

[PATCH] handle leak problem (threadproc/win32/thread.c)

Hi,

I have a problem about handle leak related to threads on Windows2000/XP.

Excerpt from MSVC help;
"Like the Win32 ExitThread API, _endthreadex does not close the thread handle.
Therefore, when you use _beginthreadex and _endthreadex,
you must close the thread handle by calling the Win32 CloseHandle API."

SUZUKI Rintaro <su...@ariel-networks.com> wrote the patch.
Please review the attachment file.

Thanks.
- INOUE Seiichiro <in...@ariel-networks.com>

Again, and a new patch Re: [PATCH] handle leak problem (threadproc/win32/thread.c)

Posted by INOUE Seiichiro <in...@ariel-networks.com>.
Hi,

I previously sent the following mail.

> Message-Id: <20...@ariel-networks.com>
> Subject: [PATCH] handle leak problem (threadproc/win32/thread.c)
> Date: Thu, 22 Aug 2002 21:58:39 +0900 (JST)

I have to say the patch contained a side effect.
But the problem I pointed out is still valid.
I have a new patch.
Please review it.

Thanks.
- INOUE Seiichiro <in...@ariel-networks.com>