[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs pretest 24.0.96
From: |
Alex Harsanyi |
Subject: |
Re: Emacs pretest 24.0.96 |
Date: |
Wed, 2 May 2012 14:15:48 +0800 |
2012/5/2 Eli Zaretskii <address@hidden>:
>> Date: Wed, 2 May 2012 09:10:05 +0800
>> From: Alex Harsanyi <address@hidden>
>>
>> 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.
- Re: Emacs pretest 24.0.96, Juanma Barranquero, 2012/05/01
- Re: Emacs pretest 24.0.96, Alex Harsanyi, 2012/05/01
- Re: Emacs pretest 24.0.96, Eli Zaretskii, 2012/05/01
- Re: Emacs pretest 24.0.96,
Alex Harsanyi <=
- Re: Emacs pretest 24.0.96, Eli Zaretskii, 2012/05/02
- Re: Emacs pretest 24.0.96, Chong Yidong, 2012/05/02
- Re: Emacs pretest 24.0.96, Eli Zaretskii, 2012/05/02
- Re: Emacs pretest 24.0.96, Juanma Barranquero, 2012/05/02
- Re: Emacs pretest 24.0.96, Chong Yidong, 2012/05/03
- Re: Emacs pretest 24.0.96, Juanma Barranquero, 2012/05/03
- Re: Emacs pretest 24.0.96, Eli Zaretskii, 2012/05/05