diff --git a/examples/xev.zig b/examples/xev.zig index 097377a..1890f9b 100644 --- a/examples/xev.zig +++ b/examples/xev.zig @@ -60,7 +60,10 @@ pub fn main() !void { var vx = try vaxis.init(alloc, .{}); defer vx.deinit(alloc, tty.anyWriter()); - var loop = try xev.Loop.init(.{}); + var pool = xev.ThreadPool.init(.{}); + var loop = try xev.Loop.init(.{ + .thread_pool = &pool, + }); defer loop.deinit(); var app: App = .{