Simplify/fix threading utilities (#21089)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
taylor.fish
2025-07-18 22:02:36 -07:00
committed by GitHub
parent b5a9d09009
commit a1c0f74037
31 changed files with 513 additions and 1611 deletions

View File

@@ -196,7 +196,7 @@ pub fn main() anyerror!void {
response_body: MutableString = undefined,
context: HTTP.HTTPChannelContext = undefined,
};
const Batch = @import("../src/thread_pool.zig").Batch;
const Batch = bun.ThreadPool.Batch;
var groups = try default_allocator.alloc(Group, args.count);
var repeat_i: usize = 0;
while (repeat_i < args.repeat + 1) : (repeat_i += 1) {