unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
Cc: Luc Teirlinck <teirllm@dms.auburn.edu>,
	Stefan Monnier <monnier@iro.umontreal.ca>,
	emacs-devel@gnu.org
Subject: Re: [gmane.emacs.devel] Tramp with global-auto-revert-mode.
Date: 29 May 2004 01:44:46 +0200	[thread overview]
Message-ID: <m3lljcrua9.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <86isegimk1.fsf@rumba.de.uu.net>

Kai Grossjohann <kai@emptydomain.de> writes:

> storm@cua.dk (Kim F. Storm) writes:
> 
> > I think we have a pretty good understanding of what the problems are
> > in this case: GC problems have been fixed, so it remains to fix that
> > tramp is not reentrant.
> 
> I would like to discuss the solution with Michael, but I can think of
> the following solutions:
> 
> (a) Make Tramp barf on reentrant calls.

That would probably break some code which does eg. file-exists-p
in a timer hook or some such.  So it is not an option.

> 
> (b) Make Tramp wait on reentrant calls (by implementing a queue or
>     somesuch).

I prefer this (because there are problems with the alternatives).

> 
> (c) Implement concurrency for reentrant calls (by opening more than
>     one connection to the remote end).

How do you solve the problem with having to enter passwords or other
stuff when invoked from a hook ...  and would you start a new thread
for every reentant call, that sounds like a lot of processes?

Also, tramp is slow at opening a connection (but maybe it can skip
some initial checks when it already has another connection to the
same host?).


-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

  reply	other threads:[~2004-05-28 23:44 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <nqekp9n8td.fsf@alcatel.de>
2004-05-25  8:04 ` [gmane.emacs.devel] Tramp with global-auto-revert-mode Kim F. Storm
2004-05-25 10:50   ` Kai Grossjohann
2004-05-26 20:21     ` Michael Albinus
2004-05-27  2:53     ` Luc Teirlinck
2004-05-27  8:37       ` Kim F. Storm
2004-05-28 15:01         ` Stefan Monnier
2004-05-28 15:07           ` Kim F. Storm
2004-05-28 15:44             ` Kai Grossjohann
2004-05-28 23:44               ` Kim F. Storm [this message]
2004-05-28 23:52                 ` Stefan Monnier
2004-05-29 10:17                 ` Kai Grossjohann
2004-05-29 22:49                   ` Kim F. Storm
2004-05-30 14:31               ` Richard Stallman
2004-05-27 23:53       ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3lljcrua9.fsf@kfs-l.imdomain.dk \
    --to=storm@cua.dk \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=teirllm@dms.auburn.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).