delorie.com/archives/browse.cgi | search |
>>> On Tue, 14 Mar 2000 12:47:12 -0500 >>> Chris Faylor <cgf AT cygnus DOT 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 AT jaist DOT ac DOT jp> | HOKURIKU School of Information Science o_/ 1990 Japan Advanced Institute of Science and Technology
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |