Thread.this

Construct the thread from a functor with no argument

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

Parameters

fn void function
()

The function to use as the entry point of the thread

sz size_t

The size of the stack

Meta