emacs-devel
[Top][All Lists]
Advanced

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

Re: with-url


From: Eli Zaretskii
Subject: Re: with-url
Date: Sun, 22 Jan 2017 18:36:49 +0200

> From: Dmitry Gutov <address@hidden>
> Date: Sun, 22 Jan 2017 18:13:53 +0300
> Cc: Emacs developers <address@hidden>
> 
> > Anyway, it's all rather moot, since this is, of course, an asynchronous
> > library function, and you can't really send any Lisp-level signals in
> > that context.
> 
> That's why I mentioned threads.

With the current implementation of concurrency, threads cannot
usefully signal anything: if a thread raises a signal that is not
caught, it simply dies.  And you cannot catch such a signal from
another thread.

So your proposal would mean that the thread which runs the async code
sets some variable, and the application in the main thread then
signals an error based on that variable's value.  is that what you had
in mind?



reply via email to

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