From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Introducing thread-safe Tramp Date: Mon, 23 Jul 2018 19:06:07 +0300 Message-ID: <83a7qivswg.fsf@gnu.org> References: <8736wa9c5s.fsf@gmx.de> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1532361855 29512 195.159.176.226 (23 Jul 2018 16:04:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 23 Jul 2018 16:04:15 +0000 (UTC) Cc: dgutov@yandex.ru, emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 23 18:04:10 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhdJi-0007Z0-3T for ged-emacs-devel@m.gmane.org; Mon, 23 Jul 2018 18:04:10 +0200 Original-Received: from localhost ([::1]:35445 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhdLo-0003o0-Nh for ged-emacs-devel@m.gmane.org; Mon, 23 Jul 2018 12:06:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40057) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhdLf-0003mW-RK for emacs-devel@gnu.org; Mon, 23 Jul 2018 12:06:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fhdLf-0004bR-4A for emacs-devel@gnu.org; Mon, 23 Jul 2018 12:06:11 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40927) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhdLW-0004XP-AN; Mon, 23 Jul 2018 12:06:02 -0400 Original-Received: from [176.228.60.248] (port=4115 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fhdLV-0003Bv-Ps; Mon, 23 Jul 2018 12:06:02 -0400 In-reply-to: <8736wa9c5s.fsf@gmx.de> (message from Michael Albinus on Mon, 23 Jul 2018 17:58:39 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:227727 Archived-At: > From: Michael Albinus > Date: Mon, 23 Jul 2018 17:58:39 +0200 > Cc: Dmitry Gutov > > I have created a new branch feature/tramp-thread-safe. The major change > is making Tramp thread-safe, that means, several basic file operations > can run concurrently now. Thank you! > I have changed the `find-file' family of commands to raise their > underlying file operations asynchronously if indicated. Every visiting > of a file happens in its own thread then. If wildcards are used, one > thread per involved file is created. > > In order to enable this, the respective command must be called with a > prefix argument, like "C-u C-x C-f ...". Emacs will remain responsive, > you can continue with whatever operation. What happens if find-file or its subroutine ask a question that the user must answer?