mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-12-05 00:50:52 +00:00
531 B
531 B
libkernel
add Functional
- Spinlock
pthread_spin_initandpthread_spin_destroycopy non-nulllockpointers throughGuestCopyIn_nid_no_patchandGuestCopyOut_nid_no_patchwhile preservingerrno, returningEFAULT(14) on unreadable or unwritable guest storage before leaving leaked allocations;pthread_spin_lock,pthread_spin_trylockandpthread_spin_unlockkeep direct loads so per-iteration lock acquisition avoids checked-copy syscalls.