Thread

Utility class to manipulate threads.

Constructors

this
this(void function() fn, size_t sz = 0)

Construct the thread from a functor with no argument

this
this(void delegate() dg, size_t sz = 0)

Construct the thread from a delegate with no argument

Destructor

~this
~this()

Destructor

Members

Functions

launch
void launch()

Run the thread.

wait
void wait()

Wait until the thread finishes.

Meta