Repository navigation
feat(libkernel): accept pipe read ends in sceKernelAddReadEvent - #8057
Conversation
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The entry before it still says sceKernelAddReadEvent and sceKernelAddWriteEvent take only guest sockets. The pipe entry now says it is the exception, without editing that entry, which an open change to the shared-memory entry next to it would conflict with. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
Manual check of the files the overlap report could not compare. #7049 and #7509 change One wording overlap: #7088's new debt entry ends with " |
|
Windows run (the description has Linux only): Windows 11 Home 26300, Ryzen 5 9600X, WinLibs GCC 15.2.0, Release, BUILD_TESTING=ON. This PR merged onto
AI-assisted: yes (Claude Code); results above were run on this machine. |
The only conflict was the sceKernelAddReadEvent entry in docs/dev/debt/libkernel.md; it takes the v0.1.3 text, which already holds the pipe read event and libSceNet work merged upstream as boykopovar#8057 and boykopovar#8054. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
What
sceKernelAddReadEventthrew for anything but a guest socket, althoughkeventalready acceptsEVFILT_READon the read end of a pipe (FreeBSDfilt_piperead). It now registers a read event on a pipe's read end through the same pathkeventuses and ignores the size argument there. Host streams, other descriptors and a write event on a pipe still throw, as recorded indocs/dev/debt/libkernel.md.Tested
Linux (gcc, Release):
guest_socket_eventspasses, including new checks that a pipe read event stays quiet on an empty pipe, reports the readable byte count after a write, wakes a blocked wait when another thread writes, and reportsEV_EOFonce the write end closes. No title was run.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)