pause support

This commit is contained in:
Brian Matzon 2003-12-27 12:27:47 +00:00
parent a5a46a4670
commit e854c27358
1 changed files with 12 additions and 0 deletions

View File

@ -94,6 +94,18 @@ public abstract class BasicTest {
return temp.asFloatBuffer();
}
/**
* Pauses the invoking thread for specified milliseconds
*
* @param time Milliseconds to sleep
*/
protected void pause(long time) {
try {
Thread.sleep(time);
} catch (InterruptedException inte) {
}
}
/**
* Exits the test NOW, printing errorcode to stdout