This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb-6.6 mingw port hangs after Ctrl-C
Eli Zaretskii <eliz@gnu.org> writes:
>> Cc: gdb@sourceware.org
>> From: Jim Blandy <jimb@codesourcery.com>
>> Date: Tue, 21 Aug 2007 10:41:57 -0700
>>
>> The issue at hand here is that we need C-c to interrupt the main
>> thread as it reads from the remote host. That could be a pipe, a
>> socket, or a serial port.
>>
>> Do you know how one can safely interrupt each of these kinds of reads
>> in Windows?
>
> What do you mean by ``safely interrupt''?
The main thread is in the midst of a 'read' or 'write' operation. We
want the thread handling the C-c to be able to make the main thread
abandon that operation with a suitable indication of why.