| Return type | Name and parameters |
|---|---|
static Thread
|
start(Closure closure)
Start a Thread with the given closure as a Runnable instance. |
static Thread
|
start(String name, Closure closure)
Start a Thread with a given name and the given closure as a Runnable instance. |
static Thread
|
startDaemon(Closure closure)
Start a daemon Thread with the given closure as a Runnable instance. |
static Thread
|
startDaemon(String name, Closure closure)
Start a daemon Thread with a given name and the given closure as a Runnable instance. |
Start a Thread with the given closure as a Runnable instance.
closure - the Runnable closure.Start a Thread with a given name and the given closure as a Runnable instance.
name - the name to give the thread.closure - the Runnable closure.Start a daemon Thread with the given closure as a Runnable instance.
closure - the Runnable closure.