jcjordyn140 / mintty

Automatically exported from code.google.com/p/mintty
GNU General Public License v3.0
0 stars 0 forks source link

Termination signals are delayed #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When sending one of the process terminating signals (TERM, KILL, HUP, INT)
to MinTTY, it will not exit immediately, waiting for the next keypress instead.

The reason for that is that Win32 functions are not interruptible by
signals in Cygwin and MinTTY spends most of its time in
MsgWaitForMultipleObjects().

Original issue reported on code.google.com by andy.koppe on 11 Jan 2009 at 9:06

GoogleCodeExporter commented 9 years ago
Issue 36 has been merged into this issue.

Original comment by andy.koppe on 11 Jan 2009 at 9:07

GoogleCodeExporter commented 9 years ago
Fixed in r106 on 0.3 branch. Thanks to Christopher Faylor for the correct 
solution: a
separate thread waiting for signals using sigwait().

Original comment by andy.koppe on 11 Jan 2009 at 10:27

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by andy.koppe on 14 Jan 2009 at 7:41