Re: Java Timer



On 29 Nov 2005 21:43:32 -0800, "sconeek" <sconeek@xxxxxxxxx> wrote,
quoted or indirectly quoted someone who said :

>I want to try something like this,
>for (int i=0;i<10000;i++) {
> not sure what to do while its looping????
>}
>Then do whatever.

The problem with this approach is you will gobble up all the CPU time
to accomplish nothing. That was the way you did things in DOS when
there were no other tasks that could use the CPU.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
.



Relevant Pages