private static void microDelay(long delay)
{
long start = System.nanoTime();
boolean run = true;
while(run)
if(System.nanoTime() - start >= delay)
return;
}
Showing posts with label microsecond delay in java. Show all posts
Showing posts with label microsecond delay in java. Show all posts
Friday, September 17, 2010
Subscribe to:
Posts (Atom)