apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From INOUE Seiichiro <in...@ariel-networks.com>
Subject [PATCH] handle leak problem (threadproc/win32/thread.c)
Date Thu, 22 Aug 2002 12:58:39 GMT

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 <suzuki@ariel-networks.com> wrote the patch.
Please review the attachment file.

- INOUE Seiichiro <inoue@ariel-networks.com>

View raw message