This is the mail archive of the
cygwin-developers@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Yet another hanging issue.
>>> On Tue, 14 Mar 2000 12:47:12 -0500
>>> Chris Faylor <cgf@cygnus.com> said:
> >In an old snapshot such as cygwin1-19990115.dll, typing `^Z'
> >makes bash return to its prompt and doesn't abort notepad.
>
> Ok. I restored this behavior. It wasn't as hard as I thought.
The latest fixes stop bash consuming a cpu, but typing `^Z'
can't wake up its prompt.
I tried tracking down this and found the following problem, but
I couldn't fix it.
In that case, SIGTSTP caused by bash wakes the "sig" thread in
the win32 process creating the notepad process. This process
can't properly handle the signal because sync_proc_subproc has
been released by proc_terminate() in spawn_guts().
In the concrete, proc_subproc() can't clean waiting threads so
the "main" thread in the process can't start to execute the
signal handler.
Is my understandings right?
____
| AIST Kazuhiro Fujieda <fujieda@jaist.ac.jp>
| HOKURIKU School of Information Science
o_/ 1990 Japan Advanced Institute of Science and Technology