Merge branch 'priority-sched' into 'master'

{Get/Set}ProcPriority

See merge request redox-os/libredox!24
This commit is contained in:
Jeremy Soller
2026-04-04 07:40:47 -06:00
+4 -4
View File
@@ -831,8 +831,8 @@ pub mod protocol {
// Temporary calls for getting process credentials
GetProcCredentials = 15,
SetPriority = 16,
GetPriority = 17,
SetProcPriority = 16,
GetProcPriority = 17,
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(usize)]
@@ -885,8 +885,8 @@ pub mod protocol {
13 => Self::Rename,
14 => Self::DisableSetpgid,
15 => Self::GetProcCredentials,
16 => Self::SetPriority,
17 => Self::GetPriority,
16 => Self::SetProcPriority,
17 => Self::GetProcPriority,
_ => return None,
})
}