[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Unconditional quit on SIGUSR2
From: |
Daniel Colascione |
Subject: |
Re: [PATCH] Unconditional quit on SIGUSR2 |
Date: |
Tue, 29 Mar 2011 11:14:00 -0700 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 |
On 3/29/11 10:55 AM, Daniel Colascione wrote:
> On 3/28/11 3:20 PM, chad wrote:
>> If the method works out in practice, how would people feel about a
>> patch to emacsclient adding a flag to send such signals?
>
> That would be fine. For NT Emacs, the best approach would be for
> emacsclient to suspend all threads in the target Emacs process, then use
> CreateRemoteThread to inject code into a running Emacs. This code would
> trip the debugger the same way the signal handler in my patch does, then
> resume the rest of Emacs.
Err, after actually *reading* w32term.c and w32fns.c, it looks like a
normal window message would suffice. No need for code injection.
signature.asc
Description: OpenPGP digital signature
- Re: [PATCH] Unconditional quit on SIGUSR2, (continued)
- Re: [PATCH] Unconditional quit on SIGUSR2, Lennart Borgman, 2011/03/28
- Re: [PATCH] Unconditional quit on SIGUSR2, Daniel Colascione, 2011/03/28
- Re: [PATCH] Unconditional quit on SIGUSR2, Lennart Borgman, 2011/03/28
- In praise of font-lock (Was: Re: [PATCH] Unconditional quit on SIGUSR2), Daniel Colascione, 2011/03/28
- Re: In praise of font-lock (Was: Re: [PATCH] Unconditional quit on SIGUSR2), Lennart Borgman, 2011/03/28
- Re: [PATCH] Unconditional quit on SIGUSR2, chad, 2011/03/28
- Re: [PATCH] Unconditional quit on SIGUSR2, Eli Zaretskii, 2011/03/28
- Re: [PATCH] Unconditional quit on SIGUSR2, Daniel Colascione, 2011/03/28
- Re: [PATCH] Unconditional quit on SIGUSR2, chad, 2011/03/28
- Re: [PATCH] Unconditional quit on SIGUSR2, Daniel Colascione, 2011/03/29
- Re: [PATCH] Unconditional quit on SIGUSR2,
Daniel Colascione <=
- Re: [PATCH] Unconditional quit on SIGUSR2, Tom Tromey, 2011/03/29
- Re: [PATCH] Unconditional quit on SIGUSR2, Stefan Monnier, 2011/03/29
- Re: [PATCH] Unconditional quit on SIGUSR2, Tom Tromey, 2011/03/29
- Re: [PATCH] Unconditional quit on SIGUSR2, Stefan Monnier, 2011/03/29