[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: |
Sun, 11 Dec 2016 22:34:28 +0200 |
> From: Juliusz Chroboczek <address@hidden>
> Date: Sun, 11 Dec 2016 19:37:09 +0100
>
> Running 26.0.50.7 on Linux/AMD64. The following immediately crashes
> Emacs:
>
> (let ((thread (make-thread #'(lambda () (while t (thread-yield))))))
> (thread-signal thread 'error nil))
What is the semantics of signaling a thread that yields? What did you
expect to happen? Of course, Emacs shouldn't exit, but what should it
do in this case?
Thanks.
- Crashing the new thread code, Juliusz Chroboczek, 2016/12/11
- Re: Crashing the new thread code,
Eli Zaretskii <=
- Re: Crashing the new thread code, Juliusz Chroboczek, 2016/12/11
- Re: Crashing the new thread code, Noam Postavsky, 2016/12/11
- Re: Crashing the new thread code, Juliusz Chroboczek, 2016/12/11
- Re: Crashing the new thread code, Eli Zaretskii, 2016/12/11
- Re: Crashing the new thread code, Noam Postavsky, 2016/12/11
- Re: Crashing the new thread code, Eli Zaretskii, 2016/12/12