From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#48949: 28.0.50; Thread-Process Liberalization Date: Sat, 12 Jun 2021 18:09:57 +0300 Message-ID: <838s3f86gq.fsf@gnu.org> References: <877dj1pict.fsf@dick> <8335tpaqvw.fsf@gnu.org> <871r98d7e3.fsf@dick> <83r1h8acpk.fsf@gnu.org> <87fsxni1a6.fsf@dick> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31403"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 48949@debbugs.gnu.org To: dick.r.chiang@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 12 17:11:10 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ls5Hx-0007yT-Nf for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Jun 2021 17:11:09 +0200 Original-Received: from localhost ([::1]:41858 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ls5Hw-0000MR-Id for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Jun 2021 11:11:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54660) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ls5Hq-0000Lj-Qx for bug-gnu-emacs@gnu.org; Sat, 12 Jun 2021 11:11:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58617) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ls5Hq-0002R0-JU for bug-gnu-emacs@gnu.org; Sat, 12 Jun 2021 11:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ls5Hq-0003JK-Dg for bug-gnu-emacs@gnu.org; Sat, 12 Jun 2021 11:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Jun 2021 15:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48949 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 48949-submit@debbugs.gnu.org id=B48949.162351063012684 (code B ref 48949); Sat, 12 Jun 2021 15:11:02 +0000 Original-Received: (at 48949) by debbugs.gnu.org; 12 Jun 2021 15:10:30 +0000 Original-Received: from localhost ([127.0.0.1]:41930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ls5HK-0003IV-AL for submit@debbugs.gnu.org; Sat, 12 Jun 2021 11:10:30 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56854) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ls5HI-0003IJ-F7 for 48949@debbugs.gnu.org; Sat, 12 Jun 2021 11:10:28 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:42732) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ls5HB-00021r-Rk; Sat, 12 Jun 2021 11:10:23 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2331 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ls5Gx-000527-3x; Sat, 12 Jun 2021 11:10:17 -0400 In-Reply-To: <87fsxni1a6.fsf@dick> (dick.r.chiang@gmail.com) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:208389 Archived-At: > From: dick.r.chiang@gmail.com > Cc: 48949@debbugs.gnu.org > Date: Sat, 12 Jun 2021 10:51:45 -0400 > > EZ> why not unlock the process, so that its output could be > EZ> processed by any thread? > > Yes, why don't I just call pset_thread(proc, Qnil) when the mood strikes in > process.c? You make it sound as if pset_thread is an exposed defun. No, I meant to use set-process-thread from Lisp. That's what it is for, and this stuff is documented in the ELisp manual. (And I still don't fully understand why you'd need that, but if you really do, you can; no C source-level changes needed.)