Re: Thread.sleep takes a lot of CPU time!



Hi,

is it possible, that your code instead looks like this?:

public void run()
{
...

while(true)
{
try {
...
//some set of operations
....

Thread.sleep(5*1000*60);
} catch(Exception e) {
// do nothing
}
}


Ciao,
Ingo

.