Merge branch 'pthread-panic' into 'master'

Return ENOSYS to pthread_getschedparam instead of panic

See merge request redox-os/relibc!1496
This commit is contained in:
Jeremy Soller
2026-06-26 06:29:57 -06:00
+2 -1
View File
@@ -397,7 +397,8 @@ pub fn get_cpu_clkid(thread: &Pthread) -> Result<clockid_t, Errno> {
Err(Errno(ENOENT))
}
pub fn get_sched_param(thread: &Pthread) -> Result<(clockid_t, sched_param), Errno> {
todo!()
// TODO should be possible to return sched_param
Err(Errno(ENOSYS))
}
// TODO: Hash map?