From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.devel Subject: Re: Emacs vista build failures Date: Fri, 25 Jul 2008 17:40:05 +0200 Message-ID: References: <48861A51.1090401@gmail.com> <20080724080727.GA3448@muc.de> <863alzd1mi.fsf@lola.quinscape.zz> <857ibayq3q.fsf@lola.goethe.zz> <4889EC71.9050906@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1217000546 8974 80.91.229.12 (25 Jul 2008 15:42:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Jul 2008 15:42:26 +0000 (UTC) Cc: Eli Zaretskii , rms@gnu.org, emacs-devel@gnu.org To: "Lennart Borgman (gmail)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 25 17:43:15 2008 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 1KMPRM-00070v-Tm for ged-emacs-devel@m.gmane.org; Fri, 25 Jul 2008 17:42:45 +0200 Original-Received: from localhost ([127.0.0.1]:42894 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMPQT-0008Dg-9y for ged-emacs-devel@m.gmane.org; Fri, 25 Jul 2008 11:41:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMPOr-0007RF-Dm for emacs-devel@gnu.org; Fri, 25 Jul 2008 11:40:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMPOp-0007Po-Td for emacs-devel@gnu.org; Fri, 25 Jul 2008 11:40:09 -0400 Original-Received: from [199.232.76.173] (port=51244 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMPOp-0007Pe-DV for emacs-devel@gnu.org; Fri, 25 Jul 2008 11:40:07 -0400 Original-Received: from nf-out-0910.google.com ([64.233.182.185]:12197) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KMPOo-0000MN-Nh for emacs-devel@gnu.org; Fri, 25 Jul 2008 11:40:06 -0400 Original-Received: by nf-out-0910.google.com with SMTP id c7so7101238nfi.26 for ; Fri, 25 Jul 2008 08:40:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=apmIiUK4eSEYsrn4KL9bI5/q8fKtVc5qVaLyhmXzk+E=; b=TdMaeofvHHynXb6VvFf/EpqSW6Pn7w6fcmBuffCLotNwoVDeX8Q7I58ukwYovKNF3G s1Bx4Kea7dkiFsjwVXVZT2LQnGEX007VTx0MFeS4C6TMml7Isq25obxTr7BI7/dr5F/D QDGnFxuPFiNh3ZqXUAx8IWjXYUmRvsx1wFCf8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=xh3vf0mEe7k0cLEb3LubVu88gIr56oPHVqeJW9jHS12kxGK0hDfFFBz3RLxt4cjY3z xvrAIDm9QmMFq++n9fGHq5L/mbB1GRDFBnwVfx8qUuVhykX97FqLMj6pw4oer6IoX9cP ud0dz7ygB2p65cOpHemeNnAUENtNq2WzVHwtQ= Original-Received: by 10.210.46.12 with SMTP id t12mr2132403ebt.64.1217000405493; Fri, 25 Jul 2008 08:40:05 -0700 (PDT) Original-Received: by 10.210.71.14 with HTTP; Fri, 25 Jul 2008 08:40:05 -0700 (PDT) In-Reply-To: <4889EC71.9050906@gmail.com> Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:101469 Archived-At: On Fri, Jul 25, 2008 at 17:08, Lennart Borgman (gmail) wrote: > A problem of this kind was the > network problem with Emacs client on w32 (which took Juanma quite a while to > solve). Not sure what problem are you talking about; the implementation of TCP sockets on emacsclient was stalled for a while because of a long-standing bug in the Windows port related to server sockets, which was solved by Kim, not me: 2006-07-14 Kim F. Storm * w32.c (pfn_WSACreateEvent, pfn_WSACloseEvent): New func ptrs. (init_winsock): Load them. Use ws2_32.dll. (sys_listen): Undo last change. Just set FILE_LISTEN flag. (sys_accept): Undo last change. Instead, set child status to STATUS_READ_ACKNOWLEDGED and reset char_avail event so next sys_select will wakeup the reader thread. (_sys_wait_accept): New function used by reader thread to wait for an incoming connection on a server socket. * w32.h (_sys_read_ahead, _sys_wait_accept): Add prototypes. * w32proc.c (reader_thread): Use _sys_wait_accept to wait on a server socket (FILE_LISTEN flag). 2006-07-14 Kim F. Storm * w32.c: Fix high cpu load for server sockets. (pfn_WSAEventSelect): New function ptr. (init_winsock): Load it. (sys_listen): Set FILE_LISTEN flag. Set event mask for socket's char_avail event object to FD_ACCEPT. (sys_accept): Check FILE_LISTEN flag. Set event mask on new socket's char_avail event object to FD_READ|FD_CLOSE. * w32.h (FILE_LISTEN): New filedesc flag value. Juanma