This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: Another problem with MC + subshell on cygwin
- From: Christopher Faylor <cgf at redhat dot com>
- To: cygwin-developers at cygwin dot com
- Date: Sat, 17 Aug 2002 21:51:04 -0400
- Subject: Re: Another problem with MC + subshell on cygwin
- References: <57228872451.20020818020843@gmx.net>
- Reply-to: cygwin-developers at cygwin dot com
On Sun, Aug 18, 2002 at 02:08:43AM +0200, Pavel Tsekov wrote:
>>>>>> Strange !!! We'are missing a sigproc_printf output here (sigproc.cc, 675)
>>>>>> Oh, well... it's not so important though :))
You really can't rely on line numbers when you are referring to things like this.
I don't have a sigproc_printf in my version of sigproc.cc at line 675.
>I think a quick and dirty workaround for MC is to put some kind of
>timeout before sending SIGCONT and hope for the best. The best
>solution will be to fix this on Cygwin of course :) I haven't thinked
>of any solution since I've just found it and I'm going to bed since
>it's 2 AM here :)
Probably the right way to fix this is for the parent process not to
deliver the SIGCHLD to itself until the child has actually been suspended.
I don't know of any way of figuring out if the child is really suspended
though.
Upping the thread priority in sig_handle_tty_stop would make the race
less likely, too.
cgf