Fields

mutex: std.Thread.Mutex = .{ },
cond: std.Thread.Condition = .{ },
run_queue: RunQueue = .{ },
is_running: bool = true,
allocator: std.mem.Allocator,
threads: []std.Thread,

Types

Functions

fn deinit(pool: *Pool) void

No documentation provided.

fn init(pool: *Pool, options: Options) !void

No documentation provided.

fn spawn(pool: *Pool, comptime func: anytype, args: anytype) !void

No documentation provided.

fn waitAndWork(pool: *Pool, wait_group: *WaitGroup) void

No documentation provided.