This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
close-on-exec handles are left open by exec parent
- To: cygwin-patches at cygwin dot com
- Subject: close-on-exec handles are left open by exec parent
- From: egor duda <deo at logos-m dot ru>
- Date: Thu, 2 Aug 2001 18:38:38 +0400
- Organization: deo
- Reply-To: egor duda <cygwin-patches at cygwin dot com>
Hi!
here's the proposed patch. it also contains a fix FreeConsole ()
related bug -- when cygwin application frees its console,
"process_input" thread may be still running. When console is closed,
WaitForMultipleObjects () with console handle returns WAIT_FAILED, so
"process_input" thread starts cycling and eating CPU.
egor. mailto:deo@logos-m.ru icq 5165414 fidonet 2:5020/496.19
close-on-exec.diff
close-on-exec.ChangeLog