Thread.this

Construct the thread from a functor with no argument

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

Parameters

fn
Type: void function(
)

The function to use as the entry point of the thread

sz
Type: size_t

The size of the stack

Meta