The OpenD Programming Language

Thread.this

Initializes a thread object which is associated with a dynamic D function.

  1. this(void function() fn, size_t sz)
  2. this(void delegate() dg, size_t sz)
    class Thread
    @safe pure nothrow @nogc
    this
    (
    void delegate
    ()
    dg
    ,
    size_t sz = 0
    )

Parameters

dg void delegate
()

The thread function.

sz size_t

The stack size for this thread.

In: dg must not be null.

Meta