From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.help Subject: Re: No thread yield when using synchronous processes? Date: Sun, 23 Dec 2018 10:58:46 +0100 Message-ID: References: <87pnu5sqq3.fsf@gmx.de> <87bm5czmx6.fsf@gmx.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1545559042 7143 195.159.176.226 (23 Dec 2018 09:57:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 23 Dec 2018 09:57:22 +0000 (UTC) Cc: help-gnu-emacs To: Michael Albinus Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 23 10:57:18 2018 Return-path: Envelope-to: geh-help-gnu-emacs@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 1gb0VZ-0001jV-Iw for geh-help-gnu-emacs@m.gmane.org; Sun, 23 Dec 2018 10:57:17 +0100 Original-Received: from localhost ([::1]:52297 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gb0Xg-00042O-74 for geh-help-gnu-emacs@m.gmane.org; Sun, 23 Dec 2018 04:59:28 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33433) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gb0XD-00042H-Ds for help-gnu-emacs@gnu.org; Sun, 23 Dec 2018 04:58:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gb0XC-0006O9-MK for help-gnu-emacs@gnu.org; Sun, 23 Dec 2018 04:58:59 -0500 Original-Received: from mail-oi1-x231.google.com ([2607:f8b0:4864:20::231]:41828) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gb0XC-0006NR-Go for help-gnu-emacs@gnu.org; Sun, 23 Dec 2018 04:58:58 -0500 Original-Received: by mail-oi1-x231.google.com with SMTP id j21so8193230oii.8 for ; Sun, 23 Dec 2018 01:58:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=bBM7UhrmzLu2RuQTUAcjgJgc9khyZGvraMtLdSEcNNE=; b=cBSBP+zDHBcXaHorG8fdOYR7nQsLGv7aa5VLoRHlFVsCA/jA9+CIjtcH1MwA2+WaTh EBZHWHnuyv3EhBVn+XMhh1U5+4nxKFNjxL1QgzRJEBUQldBmxKv8zrKqyvAWFcY87zPB hkJX1LWSRU8NAvlqmKgqXfxKzb2WfTkrDtZK/Uu1bDO8da2CYuj+X6wNiKZ7H0KE3s0a 1h3JnLuCKMcUvDPEUZ8zBQIOzs81gpaq6MrMbBYpVEfVDI/2V248dzxm9jAveLiWe8hO /5HOt71gHKe1iW3PlpVgvMnC0pMhgAOzPW3mxIAj875oVcd9evKD5XgsJkB48cI32ctt G+Vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=bBM7UhrmzLu2RuQTUAcjgJgc9khyZGvraMtLdSEcNNE=; b=HbyvXu/xoeIiSbsO6DnkZNCKNQOc1rXtwy6ODa8DFgsbr1XwoNMEn+82PggS6pO8lm H+H3owtuA2cXvNePRmSPxivUQ2kZbJNwPJgbngJg77wWvUTAHArF/MgJ1y/BBUrbyDE9 lceM0nG6rDvJLEDPpjG2mxMOg8LDlktSigLggsqXnE+iouU1sgnzlE1UfCCM1zBQMDoh Cc/dwhsIdQJWYz2NV/FmiweXTrfAvdQ5EHu0ZG6pjPQJWdjiNq/i988kuRbkSAlFI0xo CZgg6y4PcNsNyhlI+k7M0N08furaBcFZd8ydTQ1HR8aYkEYULa2SbnmOXXP8vpbjFDd7 EzkQ== X-Gm-Message-State: AA+aEWYJ0DZqejPzX0zK5MXsAXxT/DRr208mTwK7Nio0HUxAbbJliGCC bc9LfCaBI31j/dm4jqpG1phTmgTZnHiVkJDY0A8= X-Google-Smtp-Source: AFSGD/V00jvYbTSMCKKO8yADsWpgHSaxe8LjhOLKIH3qE00tEWOyqzje5legjB7N+5FolYdMRHaTA3/pItjn9LxzXB8= X-Received: by 2002:aca:ab53:: with SMTP id u80mr5890861oie.261.1545559137328; Sun, 23 Dec 2018 01:58:57 -0800 (PST) In-Reply-To: <87bm5czmx6.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::231 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:119031 Archived-At: Am So., 23. Dez. 2018 um 09:07 Uhr schrieb Michael Albinus : > > Philipp Stephani writes: > > Hi Philipp, > > >> The manual is clear about this: "when waiting for ... process output > >> (e.g., during =E2=80=98accept-process-output=E2=80=99)". `accept-proce= ss-output' is used > >> only for asynchronous processes. > > > > That parenthetical says "e.g." and not "i.e.", implying that there are > > other situations where Emacs waits for process output. Clearly the > > "read" call made by call-process is such a situation, so I'd expect > > this sentence to apply to them. > > You are right, the documentation shall say it explicitly. That's what > Eli has recommended as well. > > I've pushed a fix to the emacs-26 branch. If thread switching will be > implemented also for synchronous processes, this might be adapted. Thanks!