From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alex Harsanyi Newsgroups: gmane.emacs.devel Subject: Re: Emacs pretest 24.0.96 Date: Wed, 2 May 2012 14:15:48 +0800 Message-ID: References: <87ipglkru1.fsf@gnu.org> <83pqans2wj.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1335939365 13119 80.91.229.3 (2 May 2012 06:16:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 2 May 2012 06:16:05 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 02 08:16:05 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SPSr6-00040u-K0 for ged-emacs-devel@m.gmane.org; Wed, 02 May 2012 08:16:04 +0200 Original-Received: from localhost ([::1]:35356 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SPSr5-00017X-RK for ged-emacs-devel@m.gmane.org; Wed, 02 May 2012 02:16:03 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39207) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SPSr3-00017P-6L for emacs-devel@gnu.org; Wed, 02 May 2012 02:16:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SPSqy-0008Jd-D2 for emacs-devel@gnu.org; Wed, 02 May 2012 02:16:00 -0400 Original-Received: from mail-we0-f169.google.com ([74.125.82.169]:61373) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SPSqt-0008IR-Ro; Wed, 02 May 2012 02:15:52 -0400 Original-Received: by werj55 with SMTP id j55so195223wer.0 for ; Tue, 01 May 2012 23:15:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=hP65wtyJ6GmJ1F7raU4QPL8bdc0sBDSaXEetl/57E1Q=; b=yAttgIKr4C2zReJBMvPE/mIbq1ZzGvBoeTLJyUrEJDGCu9uXa+sNeyde3IWVqBImSG xfKuedOjW5KNCIMjXY1AOHN/vAN5clrUqj6nnHgVnZlPBUPJdzlfiBJRvmj1o9XQoBfH 0aZgzjWPkpXWkTeDgHzGxDYQy6fMdZj+Rg5tA+mAT+74960s+6R3CAm7+BfBgZ8o1Si6 4OsEN2GuAVb3jPBUm0sbZx4ZByX05qZJk5iStE+Welqe3obghdzBAXtBMuvSVw7CTaeD H44L7+bV56PfkuYblsn1zkIpTzcu1ZeT0wbnlpHG3EqWHINeglejQGQXpqiWXISKFrTf R3ng== Original-Received: by 10.180.94.33 with SMTP id cz1mr6894986wib.13.1335939349232; Tue, 01 May 2012 23:15:49 -0700 (PDT) Original-Received: by 10.223.115.5 with HTTP; Tue, 1 May 2012 23:15:48 -0700 (PDT) In-Reply-To: <83pqans2wj.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.125.82.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:150206 Archived-At: 2012/5/2 Eli Zaretskii : >> Date: Wed, 2 May 2012 09:10:05 +0800 >> From: Alex Harsanyi >> >> I still get the "resource temporarily unavailable" error when trying >> to spawn subprocesses using the prebuilt windows binaries. =A0The >> problem was described here: >> >> =A0http://article.gmane.org/gmane.emacs.devel/148967 >> >> A resolution for the problem was found (see >> http://thread.gmane.org/gmane.emacs.devel/148994). =A0Are there any >> plans in implementing it for Emacs 24? > > You promised to report back on how well the changes we discussed work > for you, but never did. > > If it works well, please show the diffs of the changes you are/were > using, and I will take care of installing them. I didn't have a single problem with the changed CreateThread call, I used the fixed Emacs daily in the past 7 weeks. Here is the diff: diff -up --tabsize=3D4 e\:/Packages/emacs-24.0.94/src/w32proc.c\~ e\:/Packages/emacs-24.0.94/src/w32proc.c --- e:/Packages/emacs-24.0.94/src/w32proc.c~ 2012-02-14 00:13:25.000000000 = +0800 +++ e:/Packages/emacs-24.0.94/src/w32proc.c 2012-03-14 14:00:18.049600700 += 0800 @@ -141,7 +141,7 @@ new_child (void) cp->char_consumed =3D CreateEvent (NULL, FALSE, FALSE, NULL); if (cp->char_consumed) { - cp->thrd =3D CreateThread (NULL, 1024, reader_thread, cp, 0, &id); + cp->thrd =3D CreateThread (NULL, 64 * 1024, reader_thread, cp, 0x00010000, &id); if (cp->thrd) return cp; } Diff finished. Tue Apr 24 11:40:10 2012 Alex.