Commit Graph
2 Commits
Author SHA1 Message Date
Dean Galvin 24e47a58bb test(libkernel): include the libkernel header instead of redeclaring 17 pthread exports
GuestPthreadPosixCalls.cpp declared the exports in a local extern block;
they are declared once, in the library's public header.
2026-10-27 09:46:47 +13:00
David 935baa3394 test(libkernel): cover the POSIX pthread attribute and thread calls
pthread_attr_init, destroy, get and setdetachstate, get and setguardsize, getstacksize, get and setschedparam, pthread_equal, sched_yield, pthread_yield, pthread_setcancelstate and pthread_create_name_np had no test that ran them. The test checks the round trips, EINVAL for an invalid detach state or a null output, a destroyed attribute, the identity of thread handles, and the old state returned by pthread_setcancelstate. The default values the console reports are not pinned.
2026-10-22 18:10:20 +04:00