ncostanzo
asked on
Keep a thread from using all excess CPU time.
Keep a thread from using all excess CPU time. I am running a thread and no matter what I do, (even setting the priority) it uses all available cpu time thereby hording the cpu and slowing down other tasks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
What does that thread do? Can we see some code, please?
ASKER
The above did not solve the problem.
We removed the thread from our program and are doing it another way. I withdraw the question.
We removed the thread from our program and are doing it another way. I withdraw the question.
if you showed some code of the thread, Madshi could help you, he's guru in this and all low level stuff
sleep(1);
into your thread