Commit Graph
1 Commits
Author SHA1 Message Date
xXPBSXxandClaude Sonnet 5.5 d83e8a9bac test(libkernel): cover pthread_cond_broadcast
pthread_cond_broadcast had no test, and no test checked that one broadcast
wakes every waiter. Check the FreeBSD 11.4 results of _pthread_cond_broadcast
(lib/libthr/thread/thr_cond.c lines 495-544): a broadcast without waiters
returns 0, a statically initialised condition variable is initialised and
returns 0, a destroyed one returns EINVAL (22), and one broadcast wakes all
three waiting threads.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-27 12:03:24 +01:00