[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 100% CPU on TCP servers (on Windoze).
From: |
Kim F. Storm |
Subject: |
Re: 100% CPU on TCP servers (on Windoze). |
Date: |
Fri, 14 Jul 2006 12:23:28 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Jason Rumney <address@hidden> writes:
> Kim F. Storm wrote:
>>>> (make-network-process :name "test" :server t :service t)
>>>>
>> I took a look at this issue, and it seems quite trivial to fix.
>>
>> Would someone try to apply the following patch and tell me whether
>> it makes a difference (pls. try the above example before and after
>> applying the patch). If it doesn't compile, pls try to fix it!!
>>
> Before your patch, the example works, but uses 50% CPU. I confirmed it
> worked by connecting to the socket and sending data to Emacs.
>
> After your patch, and some additional patching to dynamically load
> WSAEventSelect (the build process needs changing to eliminate this
> requirement), the example fails with the following stack trace:
>
> Debugger entered--Lisp error: (file-error "make server process failed"
> "invalid argument" :name "test" :server t :service t)
> make-network-process(:name "test" :server t :service t)
> eval((make-network-process :name "test" :server t :service t))
> eval-last-sexp-1(t)
> eval-last-sexp(t)
> eval-print-last-sexp()
> call-interactively(eval-print-last-sexp)
Strange -- it works fine when I try it (with the version I
checked into CVS).
Can you pls. try with that version.
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Re: 100% CPU on TCP servers (on Windoze)., Kim F. Storm, 2006/07/13
- Re: 100% CPU on TCP servers (on Windoze)., Jason Rumney, 2006/07/14
- Re: 100% CPU on TCP servers (on Windoze)., Jason Rumney, 2006/07/14
- Re: 100% CPU on TCP servers (on Windoze).,
Kim F. Storm <=
- Re: 100% CPU on TCP servers (on Windoze)., Juanma Barranquero, 2006/07/14
- Re: 100% CPU on TCP servers (on Windoze)., Kim F. Storm, 2006/07/14
- Re: 100% CPU on TCP servers (on Windoze)., Kim F. Storm, 2006/07/14
- Re: 100% CPU on TCP servers (on Windoze)., Juanma Barranquero, 2006/07/14
- Re: 100% CPU on TCP servers (on Windoze)., Eli Zaretskii, 2006/07/14
- Re: 100% CPU on TCP servers (on Windoze)., Jason Rumney, 2006/07/14
- Re: 100% CPU on TCP servers (on Windoze)., Kim F. Storm, 2006/07/14
- Re: 100% CPU on TCP servers (on Windoze)., Jason Rumney, 2006/07/14