~danyspin97/benice

97bc946f4b41cbc802d865a1f1bee61c0aeffc77 — Danilo Spinella 1 year, 6 months ago 868c5a1 master
apply_scheduler: Remove SCHED_ISO that is not available on musl
1 files changed, 2 insertions(+), 2 deletions(-)

M src/apply_scheduler.zig
M src/apply_scheduler.zig => src/apply_scheduler.zig +2 -2
@@ 56,8 56,8 @@ pub fn applyScheduler(rule: *Rule) !void {
        sched_param.sched_priority = 1;
    } else if (std.mem.eql(u8, rule.sched[0..batch.len], batch)) {
        policy = c_code.SCHED_BATCH;
    } else if (std.mem.eql(u8, rule.sched[0..iso.len], iso)) {
        policy = c_code.SCHED_ISO;
    // } else if (std.mem.eql(u8, rule.sched[0..iso.len], iso)) {
    //     policy = c_code.SCHED_ISO;
    } else if (std.mem.eql(u8, rule.sched[0..idle.len], idle)) {
        policy = c_code.SCHED_IDLE;
    } else if (std.mem.eql(u8, rule.sched[0..deadline.len], deadline)) {