[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Signal delivery
From: |
Ludovic Courtès |
Subject: |
Signal delivery |
Date: |
Tue, 18 Feb 2014 18:42:36 +0100 |
User-agent: |
Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) |
(Dropping GDB.)
Doug Evans <address@hidden> skribis:
> On Tue, Feb 18, 2014 at 3:20 AM, Ludovic Courtès <address@hidden> wrote:
[...]
>> (I think we should aim to get rid of the signal-delivery thread
>> eventually, and I remember Mark mentioned it before too.)
>
> Note that Python queues the asyncs directly from the signal handler,
> even when it has thread support.
> I'm not sure if there are any problems in Python's implementation;
> asyncs can be queued from any thread but only the main thread runs them.
>
> Guile would need to come up with its own implementation of course;
> plus Guile can direct signals to any thread.
There are two difficulties:
1. The signal handler can only call async-signal-safe functions, which
complicates things.
2. In Guile, the ‘sigaction’ procedure can specify the thread that
will run the async.
Ludo’.
- Re: MinGW patches, (continued)
- Re: MinGW patches, Eli Zaretskii, 2014/02/22
- Re: MinGW patches, Mark H Weaver, 2014/02/22
- Re: MinGW patches, Eli Zaretskii, 2014/02/22
- Re: MinGW patches, Mark H Weaver, 2014/02/23
- Re: MinGW patches, Eli Zaretskii, 2014/02/23
- Re: [PATCH v2] Improved ^c support for gdb/guile, Mark H Weaver, 2014/02/19
- Re: [PATCH v2] Improved ^c support for gdb/guile, Eli Zaretskii, 2014/02/19
- Re: [PATCH v2] Improved ^c support for gdb/guile, Doug Evans, 2014/02/18
- Signal delivery,
Ludovic Courtès <=
- Re: Signal delivery, Doug Evans, 2014/02/18
- Re: Signal delivery, Ludovic Courtès, 2014/02/18
- Re: Signal delivery, Doug Evans, 2014/02/18