formatting
This commit is contained in:
parent
2f7afe64f6
commit
3e20d948f8
1 changed files with 6 additions and 6 deletions
|
@ -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.*});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue