help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Non file buffers and default-directory


From: Michael Albinus
Subject: Re: Non file buffers and default-directory
Date: Sat, 22 Apr 2023 19:31:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Manuel Giraud <manuel@ledu-giraud.fr> writes:

Hi Manuel,

>> Anyway, I'm frustrated by trying (again) to add threads for Tramp. No real
>> progress for weeks. So I need a break, and tramp-cleanup-some-buffers
>> seems easy enough to implement, and it would enjoy me to do this.
>
> 😄 Have a nice break then.  (I thought that Emacs did not have "real"
> parallel threads and that only external async process provided some
> parallelism).

Right. The idea is to fix the famous "Forbidden reentrant call of Tramp"
problem. When there are two concurrent accesses to read Tramp output,
one of the functions shall be put into a thread, and that thread shall
wait until the first access is ready.

> Anyway, if I understood you correctly 'tramp-cleanup-some-buffers' will
> close tramp buffers that validates a user configurable hook?

Yes.

Best regards, Michael.



reply via email to

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