Thread.this

Construct the thread from a delegate with no argument

  1. this(void function() fn, size_t sz = 0)
  2. this(void delegate() dg, size_t sz = 0)
    class Thread
    this
    (
    void delegate(
    )
    dg
    ,
    size_t sz = 0
    )

Parameters

dg
Type: void delegate(
)

The delegate to use as the entry point of the thread

sz
Type: size_t

The size of the stack

Meta