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: [andrew.maguire@ge.com: Emacs 22.1 hung after delete-process] Date: Fri, 17 Aug 2007 14:43:41 +0100 Message-ID: <46C5A60D.5010108@gnu.org> References: <46C404AD.8040908@gnu.org> 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 1187358246 23307 80.91.229.12 (17 Aug 2007 13:44:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 17 Aug 2007 13:44:06 +0000 (UTC) Cc: Glenn Morris , rms@gnu.org, emacs-devel@gnu.org To: dhruva Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 17 15:43:59 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 1IM27K-00043u-Kd for ged-emacs-devel@m.gmane.org; Fri, 17 Aug 2007 15:43:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IM27J-00022S-Ra for ged-emacs-devel@m.gmane.org; Fri, 17 Aug 2007 09:43:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IM27F-00021k-N8 for emacs-devel@gnu.org; Fri, 17 Aug 2007 09:43:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IM27D-000209-L7 for emacs-devel@gnu.org; Fri, 17 Aug 2007 09:43:52 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IM27D-000206-HC for emacs-devel@gnu.org; Fri, 17 Aug 2007 09:43:51 -0400 Original-Received: from outmail1.freedom2surf.net ([194.106.33.237]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IM27B-0000GI-Mc; Fri, 17 Aug 2007 09:43:49 -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 C41A652192; Fri, 17 Aug 2007 14:43:48 +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:76692 Archived-At: dhruva wrote: > Hi, > I have put it a fix that seems to solve this problem > ! if (WaitForSingleObject (cp->thrd, 1000) != WAIT_OBJECT_0) > Why would WaitSingleObject act differently depending on which compiler was use to compile Emacs? It is a system call. I think the problem lies elsewhere, and this is just a workaround (which could itself lead to indefinite hanging of Emacs).