Files
neokuze--ps5-rust/std-examples/rest_block
Yadiel Abner Rodriguez Jorge (neokuze)andClaude Opus 5.5 307f317898 Shim clock_nanosleep (ENOSYS on PS5) so std::thread::sleep works; add rest-mode probes
The PS5 kernel lacks clock_nanosleep, and the generic stub returned -1,
so std's sleep hit assert_eq!(r, EINTR). The shim returns the error
number directly and falls back to nanosleep.

Rest-mode probes on 13.60: an idle payload survives frozen; a thread
blocked in accept() during rest powers the console off; sockets polled
without blocking survive but fail with os error 163 after wake.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 15:16:34 -04:00
..