This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: minTTY will not interrupt 'locked' process
- From: Andy Koppe <andy dot koppe at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 9 Mar 2009 21:32:36 +0000
- Subject: Re: minTTY will not interrupt 'locked' process
- References: <49B58491.5080101@columbus.rr.com>
> Several times recently, I have executed a command on a "file" that was
> apparently "locked". ?Any attempts to perform any reads/opens on the file
> would block. ?When it happens, the only was out is to terminate minTTY
> session (no ctl-C or ctl-\ will terminate). ?Is this a normal situation?
I'm afraid I don't know about those locked files, but in any case this
sounds more like a general Cygwin question. When you press Ctrl-C or
Ctrl-\, MinTTY simply writes the corresponding control character to
the pty device connecting it to its child process. The terminal driver
normally turns that into a SIGINT or SIGQUIT, but applications can
override that, or choose to ignore signals. Also, Cygwin can't deliver
signals while a program is executing a Win32 function.
Andy
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/