Thread module

shutdown

proceduresince 0.31.0Source

Stops the workers after they finish what is queued and frees the group. Returns false if they did not all stop within timeout_milliseconds (-1 waits as long as it takes).

shutdown :: (group: *Thread_Group, timeout_milliseconds: s32 = -1) -> bool

Parameters

group: *Thread_Group
timeout_milliseconds: s32 = -1

Returns

bool

See also