Re: Higher Volume?
- From: Christian Williamson <c.willi@xxxxxxxxxxx>
- Date: Fri, 04 Apr 2008 08:36:54 GMT
Robert Larsen wrote:
Christian Williamson wrote:
while ( true ) {}
This will probably make your CPU go crazy so do this instead:
while (true) {
try {
Thread.sleep(10000000000);
} catch (Exception e) {
}
}
...that way the CPU won't be held busy doing nothing.
Yep, good catch.
.
- References:
- Higher Volume?
- From: JB
- Re: Higher Volume?
- From: Christian Williamson
- Re: Higher Volume?
- From: JB
- Re: Higher Volume?
- From: Christian Williamson
- Re: Higher Volume?
- From: Robert Larsen
- Higher Volume?
- Prev by Date: Re: Higher Volume?
- Next by Date: Re: Simple syntax question
- Previous by thread: Re: Higher Volume?
- Next by thread: Re: Higher Volume?
- Index(es):
Relevant Pages
|
|