Thread.this

Construct the thread from a delegate with no argument

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

Parameters

dg void delegate
()

The delegate to use as the entry point of the thread

sz size_t

The size of the stack

Meta