[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?
- Re: with-url, (continued)
- Re: with-url, Lars Ingebrigtsen, 2017/01/21
- Re: with-url, Dmitry Gutov, 2017/01/21
- Re: with-url, Lars Ingebrigtsen, 2017/01/21
- Re: with-url, Dmitry Gutov, 2017/01/21
- Re: with-url, Lars Ingebrigtsen, 2017/01/21
- Re: with-url, Dmitry Gutov, 2017/01/21
- Re: with-url, Lars Ingebrigtsen, 2017/01/21
- Re: with-url, Yuri Khan, 2017/01/22
- Re: with-url, Lars Ingebrigtsen, 2017/01/22
- Re: with-url, Dmitry Gutov, 2017/01/22
- Re: with-url,
Eli Zaretskii <=
- Re: with-url, Dmitry Gutov, 2017/01/22
- Re: with-url, Dmitry Gutov, 2017/01/22
- Re: with-url, Lars Ingebrigtsen, 2017/01/22
- Re: with-url, Lars Ingebrigtsen, 2017/01/21
- Re: with-url, Dmitry Gutov, 2017/01/21
- Re: with-url, Lars Ingebrigtsen, 2017/01/21
- Re: with-url, John Mastro, 2017/01/21
Re: with-url, Lars Ingebrigtsen, 2017/01/22