From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: QUERY: w32 sub process implementation Date: Tue, 21 Aug 2007 10:25:30 +0100 Message-ID: <46CAAF8A.4060509@gnu.org> References: <46C8B346.8020408@gnu.org> <87odh1p9ed.fsf@kfs-lx.testafd.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1187688366 27733 80.91.229.12 (21 Aug 2007 09:26:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 21 Aug 2007 09:26:06 +0000 (UTC) Cc: emacs-devel@gnu.org, rms@gnu.org, "Kim F. Storm" To: dhruva Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 21 11:26:03 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1INPzu-0000Ss-C2 for ged-emacs-devel@m.gmane.org; Tue, 21 Aug 2007 11:26:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1INPzt-0005mf-QR for ged-emacs-devel@m.gmane.org; Tue, 21 Aug 2007 05:26:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1INPze-0005ei-JJ for emacs-devel@gnu.org; Tue, 21 Aug 2007 05:25:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1INPzd-0005do-NR for emacs-devel@gnu.org; Tue, 21 Aug 2007 05:25:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1INPzd-0005dY-Hs for emacs-devel@gnu.org; Tue, 21 Aug 2007 05:25:45 -0400 Original-Received: from outmail1.freedom2surf.net ([194.106.33.237]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1INPzc-0006ix-CS; Tue, 21 Aug 2007 05:25:44 -0400 Original-Received: from [127.0.0.1] (i-83-67-23-108.freedom2surf.net [83.67.23.108]) by outmail1.freedom2surf.net (Postfix) with ESMTP id BDDE950DE5; Tue, 21 Aug 2007 10:25:43 +0100 (BST) User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) In-Reply-To: X-Detected-Kernel: Linux 2.4-2.6 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:76877 Archived-At: dhruva wrote: > Shall I first hack the sys_select and getting rid of threads for sub > processes in the first go? > No. They are separate issues. Cleaning up sys_select can be done without breaking backwards compatibility with Windows 95 etc, and will fix outstanding bugs. Getting rid of threads for sub processes does not seem to bring any benefits to me. > I will need help in understanding the handling of keyboard and mouse > events (not even sure if sys_select handles them or it is somewhere > else). It doesn't. sys_select emulates the standard C library select function for subprocesses and sockets. The reason for its existence is that with winsock 1.1, the system select function only handles sockets.