Commit Graph
4 Commits
Author SHA1 Message Date
Dean Galvin 8656c26c62 test(sched): drop the unsupported-path throw pins and use distinct caller and worker priorities
Priorities outside the supported band and the calling process's own pid are unverified and are no longer pinned to throw. The worker test now sets a priority different from the caller's and checks both, so a no-op or a shared value fails.
2026-10-26 08:21:25 +13:00
Dean Galvin b18c1e6796 fix(libkernel): declare the sched parameter exports once in the libkernel public header
sched_getparam, sched_getscheduler and sched_setparam are defined under libkernel/Pthread/Posix, so their typed declarations replace the no-argument placeholders in the libkernel header (public_headers requires the declaration in the implementing library's header), and GuestSchedParams.cpp includes the canonical headers instead of declaring these exports and the pthread, getpid and error calls locally.
2026-10-26 07:05:02 +13:00
SebastianandClaude Opus 5.5 84e65ab140 fix(libkernel): bound sched_setparam and sched_getparam by the reported priority range
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QnkpF2oEMofseVz9Z7WEAC
2026-10-24 14:28:22 +00:00
SebastianandClaude Opus 5.5 a3ae332f5e feat(libkernel): implement sched_getparam, sched_getscheduler and sched_setparam for the calling thread
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QnkpF2oEMofseVz9Z7WEAC
2026-10-24 14:28:05 +00:00