<<< Thread setPriority method | Index | Example: Order Queue application >>> |
public class Main { public static void main( String[] args ) { Thread worker = new Thread( new IOTask() ); worker.setPriority( Thread.MIN_PRIORITY ); worker.start(); //... } }//class Main
<<< Thread setPriority method | Index | Example: Order Queue application >>> |