AnyPS5/core/libs/prx/libkernel/Pthread/Posix
hugodearaujo 3c7859c41d feat(libkernel): implement pthread_getname_np
Hades (PPSA03355) stops at load on main with "undefined symbol:
9HzfhdtESio", the NID of pthread_getname_np, which it calls on
pthread_self() with a 32-byte buffer. Measured on a PS5 (firmware 13.60)
through dlopen of libkernel: the function takes (thread, buffer), copies
the name and its terminator, returns an empty name for an unnamed
thread, ESRCH for a null or joined thread and EFAULT for a null buffer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 15:23:30 -03:00
..
Attr.cpp feat(libkernel): export POSIX pthread_attr_setstack 2026-10-08 09:21:14 +02:00
Barrier.cpp feat(libkernel): accept PTHREAD_PROCESS_SHARED barrier attributes 2026-10-05 20:11:20 -05:00
Common.hpp feat(libkernel): implement pthread_getname_np 2026-10-08 15:23:30 -03:00
Cond.cpp feat(libc): add C locale conversion and sample runtime exports 2026-10-01 11:58:51 +03:00
Mutex.cpp fix(libkernel): map POSIX adaptive mutexes to the adaptive type 2026-10-04 14:30:12 +02:00
Once.cpp fix(libkernel): drop the scePthreadOnce stub that shadowed the implementation 2026-09-27 11:26:58 -07:00
Rwlock.cpp feat(libkernel): implement the pthread_rwlock try and timed lock functions 2026-10-04 17:13:36 +02:00
Sem.cpp fix(libkernel): enforce POSIX semaphore count limits 2026-10-03 04:03:25 +02:00
Thread.cpp feat(libkernel): implement pthread_getname_np 2026-10-08 15:23:30 -03:00
Tsd.cpp feat(runtime): guest arena, kernel thread/sync/file APIs, crash hooks 2026-09-25 16:27:49 -07:00