[Top][All Lists]

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

Re: Asynchronous DNS

From: Eli Zaretskii
Subject: Re: Asynchronous DNS
Date: Mon, 25 Jan 2016 17:51:30 +0200

> Date: Mon, 25 Jan 2016 16:58:03 +0800
> From: Elias Mårtenson <address@hidden>
> Cc: emacs-devel <address@hidden>
> 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.

The challenge with this scheme is to come up with the way to add an
event to the Emacs event queue from another thread.  Once the event is
in the queue, all the rest is simple.  However, the event queue is not
currently designed to accept events from other threads.

Maybe you should take a look at the concurrency branch.

reply via email to

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