From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Davis Herring Newsgroups: gmane.emacs.devel Subject: Re: Starting a subprocess in stopped state Date: Mon, 8 May 2017 10:41:28 -0600 Organization: XCP-1 Message-ID: <32a9c3d5-2fb1-b6ab-2521-15fae40f002d@lanl.gov> References: <831ss7hyh0.fsf@gnu.org> <83tw4zg3rj.fsf@gnu.org> <87bmr6wngl.fsf@zigzag> <83bmr6fmch.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1494261766 9599 195.159.176.226 (8 May 2017 16:42:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 8 May 2017 16:42:46 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 Cc: Daiki Ueno To: Eli Zaretskii , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 08 18:42:41 2017 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 1d7lk4-0002IY-BJ for ged-emacs-devel@m.gmane.org; Mon, 08 May 2017 18:42:36 +0200 Original-Received: from localhost ([::1]:60450 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7lk9-0001TO-Uz for ged-emacs-devel@m.gmane.org; Mon, 08 May 2017 12:42:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7lk3-0001Ss-Hs for emacs-devel@gnu.org; Mon, 08 May 2017 12:42:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7lk2-000460-Tc for emacs-devel@gnu.org; Mon, 08 May 2017 12:42:35 -0400 Original-Received: from proofpoint8.lanl.gov ([204.121.3.47]:40692) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d7ljy-00044f-Qt; Mon, 08 May 2017 12:42:31 -0400 Original-Received: from pps.filterd (proofpoint8.lanl.gov [127.0.0.1]) by proofpoint8.lanl.gov (8.16.0.20/8.16.0.20) with SMTP id v48GQnfT041115; Mon, 8 May 2017 10:41:28 -0600 Original-Received: from mailrelay1.lanl.gov (mailrelay1.lanl.gov [128.165.4.101]) by proofpoint8.lanl.gov with ESMTP id 2a9b950ug2-1; Mon, 08 May 2017 10:41:28 -0600 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by mailrelay1.lanl.gov (Postfix) with ESMTP id 4E38514804E0; Mon, 8 May 2017 10:41:28 -0600 (MDT) X-NIE-2-Virus-Scanner: amavisd-new at mailrelay1.lanl.gov Original-Received: from bismuth.lanl.gov (bismuth.lanl.gov [128.165.246.103]) by mailrelay1.lanl.gov (Postfix) with ESMTP id 2654114804E7; Mon, 8 May 2017 10:41:28 -0600 (MDT) In-Reply-To: <83bmr6fmch.fsf@gnu.org> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-08_10:, , signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705080087 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 204.121.3.47 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:214697 Archived-At: > Also, not reading the Emacs end of the pipe, while the process runs is > probably going to get is to undefined behavior in some situations, > especially with multithreaded processes. I don't think it's undefined behavior -- you may just hang (one or more threads of) the subprocess. Of course, then it is stopped, much as if by SIGSTOP. Davis -- This product is sold by volume, not by mass. If it appears too dense or too sparse, it is because mass-energy conversion has occurred during shipping.