Re: Question about Cygwin's select()

2011-10-22 Thread Ken Brown
On 10/22/2011 5:55 AM, Ken Brown wrote: I'm wrong. I've been focusing too much on the select interruption. This is actually harmless and is correctly treated by emacs the same as a select timeout. It doesn't explain or solve the original gdb problem. Sorry for the noise. I was finally able to m

Re: Question about Cygwin's select()

2011-10-22 Thread Ken Brown
On 10/21/2011 4:03 PM, Ken Brown wrote: On 10/21/2011 11:45 AM, Jon Clugston wrote: On Fri, Oct 21, 2011 at 10:26 AM, Ken Brown wrote: On 10/21/2011 5:44 AM, Corinna Vinschen wrote: On Oct 20 08:13, Ken Brown wrote: On 10/19/2011 4:15 PM, Ken Brown wrote: I don't have a testcase yet, but

Re: Question about Cygwin's select()

2011-10-21 Thread Ken Brown
On 10/21/2011 11:45 AM, Jon Clugston wrote: On Fri, Oct 21, 2011 at 10:26 AM, Ken Brown wrote: On 10/21/2011 5:44 AM, Corinna Vinschen wrote: On Oct 20 08:13, Ken Brown wrote: On 10/19/2011 4:15 PM, Ken Brown wrote: I don't have a testcase yet, but I have a clearer idea of what's happenin

Re: Question about Cygwin's select()

2011-10-21 Thread Jon Clugston
On Fri, Oct 21, 2011 at 10:26 AM, Ken Brown wrote: > On 10/21/2011 5:44 AM, Corinna Vinschen wrote: >> >> On Oct 20 08:13, Ken Brown wrote: >>> >>> On 10/19/2011 4:15 PM, Ken Brown wrote: I don't have a testcase yet, but I have a clearer idea of what's happening. It actually has not

Re: Question about Cygwin's select()

2011-10-21 Thread Ken Brown
On 10/21/2011 5:44 AM, Corinna Vinschen wrote: On Oct 20 08:13, Ken Brown wrote: On 10/19/2011 4:15 PM, Ken Brown wrote: I don't have a testcase yet, but I have a clearer idea of what's happening. It actually has nothing to do with the gdb subprocess, but rather is a problem that can occur when

Re: Question about Cygwin's select()

2011-10-21 Thread Corinna Vinschen
On Oct 20 08:13, Ken Brown wrote: > On 10/19/2011 4:15 PM, Ken Brown wrote: > >I don't have a testcase yet, but I have a clearer idea of what's > >happening. It actually has nothing to do with the gdb subprocess, but > >rather is a problem that can occur whenever emacs is running its main > >comman

Re: Question about Cygwin's select()

2011-10-20 Thread Ken Brown
On 10/19/2011 4:15 PM, Ken Brown wrote: I don't have a testcase yet, but I have a clearer idea of what's happening. It actually has nothing to do with the gdb subprocess, but rather is a problem that can occur whenever emacs is running its main command loop. emacs polls for keyboard input while a

Re: Question about Cygwin's select()

2011-10-19 Thread Ken Brown
On 10/19/2011 4:30 PM, Jon Clugston wrote: On Wed, Oct 19, 2011 at 4:15 PM, Ken Brown wrote: On 10/19/2011 1:32 PM, Ken Brown wrote: On 10/19/2011 12:22 PM, Christopher Faylor wrote: On Wed, Oct 19, 2011 at 04:49:10PM +0200, Corinna Vinschen wrote: On Oct 19 09:28, Ken Brown wrote: I'm

Re: Question about Cygwin's select()

2011-10-19 Thread Jon Clugston
On Wed, Oct 19, 2011 at 4:15 PM, Ken Brown wrote: > On 10/19/2011 1:32 PM, Ken Brown wrote: >> >> On 10/19/2011 12:22 PM, Christopher Faylor wrote: >>> >>> On Wed, Oct 19, 2011 at 04:49:10PM +0200, Corinna Vinschen wrote: On Oct 19 09:28, Ken Brown wrote: > > I'm trying to debug

Re: Question about Cygwin's select()

2011-10-19 Thread Ken Brown
On 10/19/2011 1:32 PM, Ken Brown wrote: On 10/19/2011 12:22 PM, Christopher Faylor wrote: On Wed, Oct 19, 2011 at 04:49:10PM +0200, Corinna Vinschen wrote: On Oct 19 09:28, Ken Brown wrote: I'm trying to debug an emacs problem, and I'm running into something I don't understand involving Cygwin

Re: Question about Cygwin's select()

2011-10-19 Thread Ken Brown
On 10/19/2011 12:22 PM, Christopher Faylor wrote: On Wed, Oct 19, 2011 at 04:49:10PM +0200, Corinna Vinschen wrote: On Oct 19 09:28, Ken Brown wrote: I'm trying to debug an emacs problem, and I'm running into something I don't understand involving Cygwin's select. I'll try to make an STC if ne

Re: Question about Cygwin's select()

2011-10-19 Thread Christopher Faylor
On Wed, Oct 19, 2011 at 04:49:10PM +0200, Corinna Vinschen wrote: >On Oct 19 09:28, Ken Brown wrote: >> I'm trying to debug an emacs problem, and I'm running into something >> I don't understand involving Cygwin's select. I'll try to make an >> STC if necessary, but I thought I'd start with a verb

Re: Question about Cygwin's select()

2011-10-19 Thread Ken Brown
On 10/19/2011 10:49 AM, Corinna Vinschen wrote: On Oct 19 09:28, Ken Brown wrote: I'm trying to debug an emacs problem, and I'm running into something I don't understand involving Cygwin's select. I'll try to make an STC if necessary, but I thought I'd start with a verbal description in case th

Re: Question about Cygwin's select()

2011-10-19 Thread Corinna Vinschen
On Oct 19 09:28, Ken Brown wrote: > I'm trying to debug an emacs problem, and I'm running into something > I don't understand involving Cygwin's select. I'll try to make an > STC if necessary, but I thought I'd start with a verbal description > in case there's an easy answer. Here's the situation

Question about Cygwin's select()

2011-10-19 Thread Ken Brown
I'm trying to debug an emacs problem, and I'm running into something I don't understand involving Cygwin's select. I'll try to make an STC if necessary, but I thought I'd start with a verbal description in case there's an easy answer. Here's the situation: emacs creates a subprocess running