public static void runIntoJITSync(final JRebirthRunnable runnable, final long... timeout) {
        final SyncRunnable sync = new SyncRunnable(runnable);

        if (JRebirth.isJIT()) {
            // We are into a JIT so just run it synchronously
            sync.run();
            // Be careful in this case no timeout protection is achieved
        } else {
            // The runnable will be run into the JIT during the next round according to existing runnable priorities
            JRebirthThread.getThread().runLater(sync);
            // Wait the end of the runnable execution
            sync.waitEnd(timeout);
        }
    }
public static void runIntoJITSync ( final JRebirthRunnable runnable , final long ... timeout ) { final SyncRunnable sync = new SyncRunnable ( runnable ) ; if ( JRebirth . isJIT ( ) ) { sync . run ( ) ; } else { JRebirthThread . getThread ( ) . runLater ( sync ) ; sync . waitEnd ( timeout ) ; } }
Run the task into the JRebirth Internal Thread [JIT] <b>Synchronously</b>.

@param runnable the task to run
@param timeout the optional timeout value after which the thread will be released (default is 1000 ms)