Files
AnyPS5/docs/dev
dwk001andClaude Opus 5.5 eaeb9c7de7 fix(libkernel): accept any pthread_mutexattr_setkind_np kind as FreeBSD libthr does
pthread_mutexattr_setkind_np stored only kinds 1 to 4 and threw for others.
FreeBSD 11.4 stores any kind, pthread_mutexattr_gettype rejects kinds of
PTHREAD_MUTEX_TYPE_MAX or more with EINVAL, and mutex_check_attr makes
pthread_mutex_init fail with EINVAL for a kind outside the mutex types.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01B7MJ4KkM4JNNWQxjsXT4ib
2026-10-24 19:44:31 +00:00
..