Re: Thread.sleep takes a lot of CPU time!
- From: "Ingo R. Homann" <ihomann_spam@xxxxxx>
- Date: Mon, 17 Jul 2006 15:58:54 +0200
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
.
- Follow-Ups:
- Re: Thread.sleep takes a lot of CPU time!
- From: Raga
- Re: Thread.sleep takes a lot of CPU time!
- References:
- Thread.sleep takes a lot of CPU time!
- From: Raga
- Thread.sleep takes a lot of CPU time!
- Prev by Date: Thread.sleep takes a lot of CPU time!
- Next by Date: Re: Thread.sleep takes a lot of CPU time!
- Previous by thread: Thread.sleep takes a lot of CPU time!
- Next by thread: Re: Thread.sleep takes a lot of CPU time!
- Index(es):