fn threadEntry(k: *Kqueue, index: u32) void
fn threadEntry(k: *Kqueue, index: u32) void { const thread: *Thread = &k.threads.allocated[index]; Thread.self = thread; std.log.debug("created thread idle {*}", .{&thread.idle_context}); k.idle(thread); thread.deinit(k.gpa); }