public Thread newThread ( Runnable runnable ) { Thread thread = new Thread ( runnable , nameGenerator . nextID ( ) ) ; thread . setPriority ( priority ) ; thread . setDaemon ( daemon ) ; thread . setUncaughtExceptionHandler ( uncaughtExceptionHandler ) ; return thread ; }
Creates a new thread configured according to this factory s parameters .