[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 02/13] script language API for GDB: extension.[ch]
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH v2 02/13] script language API for GDB: extension.[ch] |
Date: |
Wed, 08 Jan 2014 00:05:43 +0100 |
User-agent: |
Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) |
Tom Tromey <address@hidden> skribis:
> Ludovic> Would it work, upon SIGINT, to do something like:
> Ludovic> (system-async-mark (lambda ()
> Ludovic> (throw 'system-error ... EINTR)))
> Ludovic> That would eventually raise an exception in Scheme code.
>
> According to the Guile docs one must use scm_sigaction, since
> scm_system_async_mark is not async-signal-safe.
Oh, right. This could be worked around by having a separate signal
delivery thread (which is what Guile currently does internally), but
that’s not so great.
I guess this is another limitation of Guile’s current signal handling
strategy, and something we should fix.
Ludo’.
- Re: [PATCH v2 02/13] script language API for GDB: extension.[ch], Tom Tromey, 2014/01/06
- Re: [PATCH v2 02/13] script language API for GDB: extension.[ch], Ludovic Courtès, 2014/01/07
- Re: [PATCH v2 02/13] script language API for GDB: extension.[ch], Tom Tromey, 2014/01/07
- Re: [PATCH v2 02/13] script language API for GDB: extension.[ch],
Ludovic Courtès <=
- Re: [PATCH v2 02/13] script language API for GDB: extension.[ch], Tom Tromey, 2014/01/07
- Re: [PATCH v2 02/13] script language API for GDB: extension.[ch], Tom Tromey, 2014/01/14
- Re: [PATCH v2 02/13] script language API for GDB: extension.[ch], Ludovic Courtès, 2014/01/15
- Re: [PATCH v2 02/13] script language API for GDB: extension.[ch], Mark H Weaver, 2014/01/21
- Re: [PATCH v2 02/13] script language API for GDB: extension.[ch], Doug Evans, 2014/01/21