CVS: cvs.openbsd.org: src

Claudio Jeker <[email protected]> Tue, 21 Jul 2026 06:21:42 -0600 (MDT)
Newsgroups gmane.os.openbsd.cvs
Message-ID <[email protected]>
CVSROOT:	/cvs
Module name:	src
Changes by:	[email protected]	2026/07/21 06:21:42

Modified files:
	usr.sbin/rpki-client: parser.c 

Log message:
Fix possible exit race in the parser

Call pthread_cond_broadcast() on exit with its mutex held to ensure
that the receiving threads are all either parked or running and then
checking quit before calling pthread_cond_wait().
Also once woken recheck the value of quit and exit the main loop early.

OK tb@