ForkNode.initialize

Initializes a fork node, must be later disposed.

struct ForkNode
@nogc nothrow static
initialize
(,
uint n
)

Parameters

self ForkNode*

Address of node being initialized.

n uint

Number of forked threads.

Return Value

Type: err_t

Zero on success, non-zero on failure (OOM or invalid number of threads).