[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: threads and kill-buffer
From: |
martin rudalics |
Subject: |
Re: threads and kill-buffer |
Date: |
Wed, 05 Sep 2012 11:44:11 +0200 |
>> Suppose thread T has buffer B as its current buffer, and then some other
>> thread evaluates (kill-buffer B). What should happen in thread T?
>
> (assuming other thread is P) T should continue editing,
... with B not current?
> but P marks B
> as no longer available to set as current (so B can't be used as current
> in another thread); when T switches from B to another buffer,
... and what if this buffer was meanwhile revived by another thread?
> B is really
> killed.
Unless we come up with a robust set of invariants to handle this and
similar scenarios, this war is lost.
martin
- Re: threads and kill-buffer, (continued)
- Re: threads and kill-buffer, Stephen J. Turnbull, 2012/09/05
- Re: threads and kill-buffer, Eli Zaretskii, 2012/09/05
- Re: threads and kill-buffer, Eli Zaretskii, 2012/09/05
- Re: threads and kill-buffer, Stefan Monnier, 2012/09/05
- Re: threads and kill-buffer, Eli Zaretskii, 2012/09/06
- Re: threads and kill-buffer, Stefan Monnier, 2012/09/06
Re: threads and kill-buffer, SAKURAI Masashi, 2012/09/04
Re: threads and kill-buffer, Dmitry Antipov, 2012/09/05
- Re: threads and kill-buffer,
martin rudalics <=
- Re: threads and kill-buffer, Eli Zaretskii, 2012/09/05
- Re: threads and kill-buffer, martin rudalics, 2012/09/06
- Re: threads and kill-buffer, Eli Zaretskii, 2012/09/06
- Re: threads and kill-buffer, martin rudalics, 2012/09/06
- Re: threads and kill-buffer, Eli Zaretskii, 2012/09/06
- Re: threads and kill-buffer, martin rudalics, 2012/09/06
- Re: threads and kill-buffer, Stefan Monnier, 2012/09/06
- Re: threads and kill-buffer, martin rudalics, 2012/09/06
- Re: threads and kill-buffer, Eli Zaretskii, 2012/09/06
- Re: threads and kill-buffer, Eli Zaretskii, 2012/09/06