feat(libkernel): export pause, sigwait and sigwaitinfo #3580
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3580"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by Amr-Youssef on 2026-10-11T13:44:09Z.
What
Carry of the fix branch ready in #3552: export
pause,sigwaitandsigwaitinfofrom libkernel as throwing stubs, following the mergedsigtimedwaitpattern. Commit kept as-is fromscreamm:feat/libkernel-sigwait.Tested
Not run here: no CMake/MinGW toolchain in this environment, so no full build or title run. Local checks passed:
git diff --check,tools/check_conventions.py --base origin/main(all passed),tools/pr_overlap.py(no same exports; only a TechnicalDebt proximity note with #3493). The carried commit was tested by its author on Windows 11 Pro, WinLibs MinGW-w64 GCC 15.2.0, Release,BUILD_TESTING=ONwith fulllibsbuild:guest_sigtimedwaitandguest_signals3/3.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by copilot-pull-request-reviewer[bot] on 2026-10-11T13:44:15Z.
Review: COMMENTED
Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T13:46:27Z.
Progress report (
4a49ed0→059e131)📉 System libraries: 85.76% (-0.08%, +3 declared functions)
🆕 3 declared as stubs
pause_nid_postfixsigwait_nid_postfixsigwaitinfo_nid_postfixImported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-11T21:54:51Z.
Checked
pause,sigwaitandsigwaitinfoagainst thesigtimedwaitpattern: all three throw with the documented messages,info/receivedare left untouched, and the pending-signal case (blockedSIGINT) still reaches the throw.guest_sigtimedwaitpasses with the full libkernel scope (112 tests green) and fails to link without the change;SIG_BLOCK/SIG_SETMASKvalues match FreeBSD. The TechnicalDebt entry is in place. Merging once CI is green.Rebased onto current
main(only conflict: adjacentdocs/dev/TechnicalDebt.mdline from #3493, both kept); no logic changes,guest_sigtimedwaitstill passes.