embedded libuv loop. still some issues:

1. 100% CPU if no handles/requests
2. slow to exit cause it waits for the next tick
This commit is contained in:
Mitchell Hashimoto
2022-04-22 10:01:52 -07:00
parent 001aac26e0
commit cca32c4d1c
6 changed files with 179 additions and 18 deletions

View File

@@ -26,6 +26,7 @@ pub fn build(b: *std.build.Builder) !void {
ftlib.link(exe);
const libuv = try uv.create(b, target, mode);
libuv.link(exe);
// stb if we need it
// exe.addIncludeDir("vendor/stb");