Thread.opApply

Operates on all threads currently being tracked by the system. The result of deleting any Thread object is undefined. Note that threads passed to the callback might no longer run (see Thread..isRunning).

class Thread
static
int
opApply
(
scope int delegate(
ref Thread
)
dg
)

Parameters

dg
Type: int delegate(
ref Thread
)

The supplied code as a delegate.

Return Value

Type: int

Zero if all elemented are visited, nonzero if not.

Suggestion Box / Bug Report