Re: [PATCH v2] Improved ^c support for gdb/guile

Ludovic Courtès
2014-02-18T23:08:32Z

Eli Zaretskii <eliz@gnu.org> skribis:

>> From: ludo@gnu.org (Ludovic Courtès)
>> Cc: xdje42@gmail.com, gdb-patches@sourceware.org, guile-devel@gnu.org
>> Date: Tue, 18 Feb 2014 18:45:53 +0100
>>
>> > Sorry, I meant why that code couldn't be used when Guile was built
>> > without pthreads.
>>
>> Because with the patch Doug posted, both the SIGINT thread and GDB’s
>> main thread would call libguile.
>>
>> A different strategy would need to be used when Guile lacks pthread
>> support.
>
> Could you perhaps suggest such a different strategy?

Something similar to Guile’s own strategy when compiled without pthread
support.

However, Doug is proposing on guile-devel an approach that may solve
that more elegantly.

Thanks,
Ludo’.