Commit Graph

2 Commits

Author SHA1 Message Date
Red Bear OS 9387fd2c34 relibc: implement get_sched_param — replace todo!() with real default
Replaces the todo!() in get_sched_param with a real implementation
that returns the default scheduler policy (SCHED_OTHER, priority 0).
On Redox, per-thread scheduling parameters are not exposed because
the microkernel does not provide per-thread scheduler policy queries.
The default matches the Linux fallback in pthread_getattr_np() when
no custom policy was set. get_cpu_clkid() is called for the clock_id
field and falls back to 0 if that returns ENOENT (expected on Redox
where per-CPU clock IDs are not yet implemented).
2026-07-09 20:40:08 +03:00
vasilito 4ef7e57571 0.3.0: converge relibc to upstream 0.6.0 + Red Bear patches 2026-07-06 19:13:57 +03:00