Merge branch 'priority-sched' into 'master'

Add Set and Get Priority

See merge request redox-os/libredox!23
This commit is contained in:
Jeremy Soller
2026-03-22 06:59:27 -06:00
+5
View File
@@ -828,6 +828,9 @@ pub mod protocol {
// Temporary calls for getting process credentials
GetProcCredentials = 15,
SetPriority = 16,
GetPriority = 17,
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(usize)]
@@ -880,6 +883,8 @@ pub mod protocol {
13 => Self::Rename,
14 => Self::DisableSetpgid,
15 => Self::GetProcCredentials,
16 => Self::SetPriority,
17 => Self::GetPriority,
_ => return None,
})
}