I have a question regarding to an aplication I am working on     with an ulimited while cicle
 
While (1) {
#code
 
}
 
This cicle keeps asking until one of the exit functions appears to finish the cicle.
 
My problem is that the cicle consumues 100% of the CPU's resources, making things slower on my server.
Does someone knows how to avoid or prevent the cicle from consuming my CPU's resources.
 
 
thanks
christian
 
 
 
 

Reply via email to