Re: 100% CPU on TCP servers

2005-10-12 Thread Juanma Barranquero
On 10/12/05, Kim F. Storm <[EMAIL PROTECTED]> wrote: > Can somebody pls. look into doing this the right way? I won't be able for the next several weeks. I'm moving in three days and it'll take a while to settle. -- /L/e/k/t/u ___

Re: 100% CPU on TCP servers

2005-10-12 Thread Kim F. Storm
Jason Rumney <[EMAIL PROTECTED]> writes: > Juanma Barranquero <[EMAIL PROTECTED]> writes: > >> (A question for process-savvy people) >> >> It seems like >> >>> (make-network-process :name "test" :server t :service t) >> >> on Windows makes the server process to call server_accept_connection() >>

Re: 100% CPU on TCP servers

2005-09-10 Thread Kim F. Storm
Jason Rumney <[EMAIL PROTECTED]> writes: > Juanma Barranquero <[EMAIL PROTECTED]> writes: > >> (A question for process-savvy people) >> >> It seems like >> >>> (make-network-process :name "test" :server t :service t) >> >> on Windows makes the server process to call server_accept_connection() >>

Re: 100% CPU on TCP servers

2005-09-10 Thread Jason Rumney
Juanma Barranquero <[EMAIL PROTECTED]> writes: > (A question for process-savvy people) > > It seems like > >> (make-network-process :name "test" :server t :service t) > > on Windows makes the server process to call server_accept_connection() > continuously (in a 2.8 GHz Pentium IV I've measured

Re: 100% CPU on TCP servers

2005-09-09 Thread Juanma Barranquero
On 9/9/05, Kim F. Storm <[EMAIL PROTECTED]> wrote: > What does the following say > when executed in *scratch* buffer: Just # as expected (and CPU time is at 50%; that's on a Windows XP Home). -- /L/e/k/t/u ___ Emacs-devel mail

Re: 100% CPU on TCP servers

2005-09-09 Thread Kim F. Storm
Juanma Barranquero <[EMAIL PROTECTED]> writes: > (A question for process-savvy people) > > It seems like > >> (make-network-process :name "test" :server t :service t) > > on Windows makes the server process to call server_accept_connection() > continuously (in a 2.8 GHz Pentium IV I've measured

Re: 100% CPU on TCP servers

2005-08-18 Thread Juanma Barranquero
(A question for process-savvy people) It seems like > (make-network-process :name "test" :server t :service t) on Windows makes the server process to call server_accept_connection() continuously (in a 2.8 GHz Pentium IV I've measured around 10,200 calls in 3,5 s, almost 2,900 calls per second)

100% CPU on TCP servers

2005-08-06 Thread Juanma Barranquero
Lennart just discovered that (make-network-process :name "test" :server t :service t) consumes 100% CPU, at least on Windows. Any idea what can be happening? -- /L/e/k/t/u ___ Emacs-devel mailing list Emacs-devel@gnu.org http://