Programming Search⌘K

std.Thread

The entries of std.Thread in the Zig reference. This page has 21 cards.

std.Thread.spawn

pub fn spawn(config: SpawnConfig, comptime function: anytype, args: anytype) SpawnError!Thread

Spawns a new thread which executes `function` using `args` and returns a handle to the spawned thread. `config` can be used as hints to the platform for how to spawn and execute the `function`.

Kind
function
Module
std.Thread

Source: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.