Page 1 of 1
Relaxing the PureBasic Network (Server) example file
Posted: Tue Sep 19, 2006 1:55 pm
by SimpleMind
Hi,
I'm experimenting with this code and discovered that the CPU usage is booming to 100% and other apps stand still.
Is there a way to throttle the CPU usage?
Regards,
Marcel
Re: Relaxing the PureBasic Network (Server) example file
Posted: Tue Sep 19, 2006 3:52 pm
by NoahPhense
SimpleMind wrote:Hi,
I'm experimenting with this code and discovered that the CPU usage is booming to 100% and other apps stand still.
Is there a way to throttle the CPU usage?
Regards,
Marcel
Don't have the code in front of me, but Delay(1) should be inserted some
where.
- np
Posted: Tue Sep 19, 2006 6:13 pm
by SimpleMind
Thanks NoahPhense, that did the job.
Regards Marcel
Posted: Mon Sep 25, 2006 11:36 am
by ..::Origin::..
The more time you can spare to be delayed, often the less cpu is used. In all my applications: "Delay(20)" keeps it always at 0 CPU unless i'm doing something critical.