AnyPS5/core/libs/prx/libkernel
David 064f5ca825 feat(libkernel): implement pthread_attr_setsolosched_np
The POSIX alias takes (attr, int), returns EINVAL (22) for a null or
uninitialized attribute like the other pthread_attr setters, and
stores the value through scePthreadAttrSetsolosched, returning its
result in errno form. The signature and the stored int follow the SCE
twin in KytyPS5 and sharpemu; PS5PCEM implements the alias the same
way. The value is not applied to scheduling, recorded in TechnicalDebt.

Returnal (PPSA01285 v03.000.005) stops on it after eager binding
(#2872, #1155):

    what(): pthread_attr_setsolosched_np_nid_postfix not implemented

LEGO Horizon Adventures (PPSA14632, #734) and Palworld (PPSA23126,
#2598) import it.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-11 02:06:30 +02:00
..
Aio/src fix(libkernel): preserve EINVAL in AIO completions 2026-10-10 08:42:19 +02:00
AppMetadata fix(kernel): skip the download0 mount when param.json cannot be read 2026-10-08 16:07:18 +02:00
Apr fix(windows): use precise sleeps for sub-millisecond polling 2026-10-10 08:30:28 +00:00
DirectMemory fix(agc): import GPU-mapped guest memory when it is mapped 2026-10-11 00:23:23 +02:00
Equeue feat(libkernel): wake socket read and write events instead of polling 2026-10-11 01:54:15 +02:00
EventFlag/src feat(runtime): timed waits, sync primitive fixes, heap and RTC fixes, unattended-run switches 2026-09-26 19:00:39 -07:00
File Merge pull request #3009 from MarcZX100/fix/libkernel-open-directory-3004 2026-10-11 01:48:46 +02:00
Module fix(libkernel): unregister guest module images in dlclose and propagate failures 2026-10-10 10:23:50 +02:00
Pthread feat(libkernel): implement pthread_attr_setsolosched_np 2026-10-11 02:06:30 +02:00
Semaphore fix(libkernel): accept a zero count in sceKernelSignalSema 2026-10-10 16:12:43 +00:00
Socket feat(libkernel): wake socket read and write events instead of polling 2026-10-11 01:54:15 +02:00
SyncOnAddress/src feat(libkernel): implement sceKernelSyncOnAddressWait8 and sceKernelSyncOnAddressWait16 2026-10-06 04:30:12 +05:30
System/src fix(libkernel): keep the alarm state alive until the process exits 2026-10-10 18:04:35 -05:00
Time feat(libkernel): implement thread cancellation 2026-10-10 11:32:09 +02:00
CMakeLists.txt Merge pull request #1091 from kjhq/feat/libkernel-socket-events 2026-10-11 02:02:31 +02:00
KernelErrors.hpp refactor(kernel): share SCE kernel error codes through KernelErrors.hpp 2026-09-27 13:32:28 +07:00
Unimplemented.cpp feat(libkernel): implement thread cancellation 2026-10-10 11:32:09 +02:00