[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Running two processes rapidly makes Emacs eat 100% CPU on w32
From: |
Eli Zaretskii |
Subject: |
Re: Running two processes rapidly makes Emacs eat 100% CPU on w32 |
Date: |
Thu, 12 Oct 2006 06:47:19 -0400 |
> Date: Thu, 12 Oct 2006 10:44:48 +0200
> From: Slawomir Nowaczyk <address@hidden>
>
> What is the best way to debug such problem?
Try to figure out what happens inside w32proc.c:sys_select would be a
beginning, I think. There are already quite a few DebPrint statements
in that function; compiling with EMACSDEBUG defined will activate
them. You should be able to see the strings emitted by DebPrint with
any debugger; or you can install DbgView as a lightweight solution.
Once you have this in place, add DebPrint as needed to see what is
going on there.
TIA