Rebol wait eating CPU?
[1/4] from: mat::eurogamer::net at: 19-Apr-2001 0:12
Hello,
Is it just me or does Rebol's wait command use pretty much 100% CPU?
I've just noticed this on a document tracking script which
periodically scans directories but spends most of it's time in a wait
command.
This is rebol/command runtime compiled.
--
Mat Bettinson - EuroGamer's Gaming Evangelist with a Goatee
http://www.eurogamer.net | http://www.eurogamer-network.com
[2/4] from: mat:eurogamer at: 19-Apr-2001 0:28
Heya Mat,
MB> This is rebol/command runtime compiled.
Hmmm and the wait command doesn't use CPU on a script running from the
rebol/command intepreter. Different script mind but both are just 'wait
0:1:0' to wait a minute.
I'll have to look into it a bit more.
--
Mat Bettinson - EuroGamer's Gaming Evangelist with a Goatee
http://www.eurogamer.net | http://www.eurogamer-network.com
[3/4] from: gjones05:mail:orion at: 18-Apr-2001 18:36
From: "Mat Bettinson"
> Is it just me or does Rebol's wait command use pretty much 100% CPU?
>
> I've just noticed this on a document tracking script which
> periodically scans directories but spends most of it's time in a wait
> command.
>
> This is rebol/command runtime compiled.
Win98 on 500mhz deCeleron with 128 mb ram and /View 1.1, a wait uses at most
2% of the cpu cycles.
For what its worth.
--Scott Jones
[4/4] from: mat:eurogamer at: 19-Apr-2001 0:53
Heya GS,
GJ> Win98 on 500mhz deCeleron with 128 mb ram and /View 1.1, a wait uses at most
GJ> 2% of the cpu cycles.
Yes, I've just confirmed it. It's fine in the interpreter.
--
Mat Bettinson - EuroGamer's Gaming Evangelist with a Goatee
http://www.eurogamer.net | http://www.eurogamer-network.com