FiberBase.this

this( void function() fn, size_t sz, size_t guardPageSize ) nothrow

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

Parameters

fnThe fiber function.
szThe stack size for this fiber.
guardPageSizesize of the guard page to trap fiber's stack overflows. Beware that using this will increase the number of mmaped regions on platforms using mmap so an OS-imposed limit may be hit. In: fn must not be null.
this( void delegate() dg, size_t sz, size_t guardPageSize ) nothrow

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

Parameters

dgThe fiber function.
szThe stack size for this fiber.
guardPageSizesize of the guard page to trap fiber's stack overflows. Beware that using this will increase the number of mmaped regions on platforms using mmap so an OS-imposed limit may be hit. In: dg must not be null.