formatting

This commit is contained in:
Muaz Ahmad 2023-11-27 15:41:10 +05:00
parent 2f7afe64f6
commit 3e20d948f8

View file

@ -70,6 +70,6 @@ pub const ThreadManager = struct {
fn quantize_loop(queue: *util.JobQueue, signals: *Signals) void { fn quantize_loop(queue: *util.JobQueue, signals: *Signals) void {
while (queue.HasJobs() or !signals.quit.load(std.builtin.AtomicOrder.Acquire)) : (std.time.sleep(1)) { while (queue.HasJobs() or !signals.quit.load(std.builtin.AtomicOrder.Acquire)) : (std.time.sleep(1)) {
const job = queue.pop() orelse continue; const job = queue.pop() orelse continue;
std.debug.print("{any}\n", .{job}); std.debug.print("{any}\n", .{job.source.*});
} }
} }