Re: Win32 STk uses 100% of CPU
Paul Anderson writes:
>
> Hello!
>
> A quick question.
>
> On the Win32 platform STk 3.99.4 would cause the CPU usage meter
> to max out at 100%, even while apparently sitting idle.
>
> Does anyone know if this problem was ever resolved, or if
> it has been fixed in 4.0?
Probably not. I have (probably) not changed things which should change
this behavior.
I cannot test right now since I have no Win32 machine available. But
perhaps you could try this: In the Src/io.c file (line 25) there is
a line
# define TCL_EVENT_FLAG TCL_DONT_WAIT /* (FIXME) */
I don't really remember why I had used this flag (probably for the
3.1.1 release where the inputs were done in a separate thread).
Try to define it to
# define TCL_EVENT_FLAG 0
Please tell me if it works.
-- Erick
Received on Tue Nov 09 1999 - 13:45:31 CET
This archive was generated by hypermail 2.3.0
: Mon Jul 21 2014 - 19:38:59 CEST