Thread.this

this( void function() fn, size_t sz = 0 ) @safe pure nothrow @nogc

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

Parameters

fnThe thread function.
szThe stack size for this thread. In: fn must not be null.
this( void delegate() dg, size_t sz = 0 ) @safe pure nothrow @nogc

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

Parameters

dgThe thread function.
szThe stack size for this thread. In: dg must not be null.
this( size_t sz = 0 ) @safe pure nothrow @nogc
No documentation available for this declaration.