ThreadGroup.create
Thread create(void function() fn)Creates and starts a new Thread object that executes fn and adds it to the list of tracked threads.
Parameters
fn | The thread function. |
Returns
A reference to the newly created thread.
Thread create(void delegate() dg)Creates and starts a new Thread object that executes dg and adds it to the list of tracked threads.
Parameters
dg | The thread function. |
Returns
A reference to the newly created thread.