Introduction
Here is the source code for Main.java
Source
//package com.java2s;
public class Main {
public static Thread spawn(Runnable runnable) {
final Thread thread = new Thread(runnable);
thread.setDaemon(false);
thread.start();
return thread;
}
}