From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: QNX subprocess bug Date: Mon, 27 Mar 2006 03:35:46 -0500 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1143448585 28417 80.91.229.2 (27 Mar 2006 08:36:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Mar 2006 08:36:25 +0000 (UTC) Cc: bbramwel@shaw.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 27 10:36:23 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FNnD3-0000TE-Je for ged-emacs-devel@m.gmane.org; Mon, 27 Mar 2006 10:36:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FNnD2-0007H0-S6 for ged-emacs-devel@m.gmane.org; Mon, 27 Mar 2006 03:36:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FNnCb-0007GY-AK for emacs-devel@gnu.org; Mon, 27 Mar 2006 03:35:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FNnCa-0007GD-52 for emacs-devel@gnu.org; Mon, 27 Mar 2006 03:35:52 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FNnCa-0007G8-0I for emacs-devel@gnu.org; Mon, 27 Mar 2006 03:35:52 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FNnE2-000826-Hi for emacs-devel@gnu.org; Mon, 27 Mar 2006 03:37:22 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1FNnCU-0000oW-5k; Mon, 27 Mar 2006 03:35:48 -0500 Original-To: Eli Zaretskii In-reply-to: (message from Eli Zaretskii on Sun, 26 Mar 2006 06:26:01 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:52085 Archived-At: Maybe the easiest way to fix this is to use a Lisp float to record the PID. I would not mind if that were done on QNX, _provided_ it is not a pain in the neck for maintenance on other systems. > (1) all the slots in a process object have to be Lisp objects, Actually, this doesn't have to be true. Several other kinds of similar (vectorlike) objects have lifted this limitation, e.g. buffers. Yes, but that means we have to do more work in GC. Actually, Emacs can store such values in floating point numbers, or encode them in cons-cells (as is done for time values as well as file sizes). Using cons cells to represent pids seems likely to cause trouble in any code that uses pids.