emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Asynchronous DNS


From: Elias Mårtenson
Subject: Re: Asynchronous DNS
Date: Mon, 25 Jan 2016 16:58:03 +0800

On 25 January 2016 at 05:17, Lars Magne Ingebrigtsen <address@hidden> wrote:
 
There's no problem doing non-Lisp things in a separate thread.  But
doing anything that calls Lisp stuff from the non-main thread is, if I
understand things correctly, highly iffy.

Which makes things rather awkward.

Thank you for the information.

Don't you think it would make sense to add some kind of standardised functionality to Emacs that allows native code running in a thread to asynchronously call a callback function in the Lisp code? The function would be added to the event queue to be run in the Emacs main thread at some point in the future.

In essence, I'm suggesting something similar to SwingUtilities.invokeLater() from Java.

Regards,
Elias

reply via email to

[Prev in Thread] Current Thread [Next in Thread]