emacs-devel
[Top][All Lists]
Advanced

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

Re: Tramp and timers


From: Stefan Monnier
Subject: Re: Tramp and timers
Date: Sun, 13 Dec 2020 15:55:32 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>> Every connection should have a lock.  Whenever the connection is "in
>> use", we take the lock.
> That's how I have implemented it. The lock is kept per (connection)
> process object.

Great.

>> If they don't, then the risk getting `tramp-recursive-access`.
> In my current implementation, I have declared a new standard error
> 'remote-file-error'. I don't believe, that the term "tramp" shall be
> part of the name.  And I do plan to use it also for other internal error
> situations, that's why it shouldn't be restricted to
> "recursive-access".

Either way is fine by me, but of course we can have it both ways:

   (define-error 'tramp-recursive-access "Oops" 'remote-file-error)


-- Stefan




reply via email to

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