This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: poll function don't release all windows handle / possible memory leak
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 18 Apr 2011 17:54:05 +0200
- Subject: Re: poll function don't release all windows handle / possible memory leak
- References: <BANLkTi=GgZfG_QwAWtyqAYQeqOwEbcSFLw@mail.gmail.com> <BANLkTimkmQd86k2PwSzehBEcXt6y6H3kJQ@mail.gmail.com>
- Reply-to: cygwin at cygwin dot com
On Apr 18 11:35, Thomas Stalder wrote:
> Hello,
>
> I have found that poll function don't release all windows handle (with
> network socket) and generate memory leak.
That's actually a pthread problem in conjunction with select (poll only
calls select under the hood). I applied a fix to CVS. Thanks for the
testcase!
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple