[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Crashing the new thread code
From: |
Eli Zaretskii |
Subject: |
Re: Crashing the new thread code |
Date: |
Mon, 12 Dec 2016 05:41:14 +0200 |
> From: Noam Postavsky <address@hidden>
> Date: Sun, 11 Dec 2016 16:58:49 -0500
> Cc: Emacs developers <address@hidden>, Eli Zaretskii <address@hidden>
>
> >> What did you expect to happen?
> >
> > The thread queues the condition and continues spinning?
>
> I would expect the thread to receive the signal as soon as it starts
> running again.
What would be the indication of the thread receiving the signal? Both
in general and specifically in Juliusz's snippet?
Please note that the current implementation effectively makes non-main
threads run with all errors caught, so signaling an error has much
less spectacular consequences than in the main thread.