Commit Graph
1 Commits
Author SHA1 Message Date
xXPBSXxandClaude Sonnet 5.5 0c844143cc test(libkernel): cover pthread_exit
pthread_exit had no test, although scePthreadExit it forwards to is covered.
Check the FreeBSD 11.4 behaviour of _pthread_exit
(lib/libthr/thread/thr_exit.c lines 204-290): the value passed to
pthread_exit is returned by pthread_join (also NULL), code after the call
never runs, the cleanup handlers of the thread run once and before the
thread-specific data destructors, and a key destructor runs once with the
stored value.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-27 20:07:25 +01:00