mirror of
https://github.com/neokuze/ps5-rust.git
synced 2026-10-29 04:02:20 +01:00
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>