From: Alex Harsanyi <alexharsanyi@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Emacs pretest 24.0.96
Date: Wed, 2 May 2012 14:15:48 +0800 [thread overview]
Message-ID: <CAH-ciFr7eiAnXmALvr1vxEDfVQOF07iv2HynVGQp2y7eddd8ag@mail.gmail.com> (raw)
In-Reply-To: <83pqans2wj.fsf@gnu.org>
2012/5/2 Eli Zaretskii <eliz@gnu.org>:
>> Date: Wed, 2 May 2012 09:10:05 +0800
>> From: Alex Harsanyi <alexharsanyi@gmail.com>
>>
>> I still get the "resource temporarily unavailable" error when trying
>> to spawn subprocesses using the prebuilt windows binaries. The
>> problem was described here:
>>
>> http://article.gmane.org/gmane.emacs.devel/148967
>>
>> A resolution for the problem was found (see
>> http://thread.gmane.org/gmane.emacs.devel/148994). Are 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=4 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 = CreateEvent (NULL, FALSE, FALSE, NULL);
if (cp->char_consumed)
{
- cp->thrd = CreateThread (NULL, 1024, reader_thread, cp, 0, &id);
+ cp->thrd = CreateThread (NULL, 64 * 1024, reader_thread, cp,
0x00010000, &id);
if (cp->thrd)
return cp;
}
Diff finished. Tue Apr 24 11:40:10 2012
Alex.
next prev parent reply other threads:[~2012-05-02 6:15 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-27 17:27 Emacs pretest 24.0.96 Chong Yidong
2012-05-01 12:23 ` Juanma Barranquero
2012-05-02 1:10 ` Alex Harsanyi
2012-05-02 3:00 ` Eli Zaretskii
2012-05-02 6:15 ` Alex Harsanyi [this message]
2012-05-02 17:01 ` Eli Zaretskii
2012-05-02 17:09 ` Chong Yidong
2012-05-02 17:22 ` Eli Zaretskii
2012-05-02 17:34 ` Juanma Barranquero
2012-05-03 7:54 ` Chong Yidong
2012-05-03 8:49 ` Juanma Barranquero
2012-05-05 8:42 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAH-ciFr7eiAnXmALvr1vxEDfVQOF07iv2HynVGQp2y7eddd8ag@mail.gmail.com \
--to=alexharsanyi@gmail.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).