CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2026/11/10 05:04:01

Modified files:
        usr.sbin/rpki-client: cert.c crl.c parser.c 
Added files:
        usr.sbin/rpki-client: thread.h 

Log message:
Wrap pthread rwlock, mutex and conditions into simple inline functions

Introduce thread.h which contains static inline wrappers for the most
commonly used pthread operations (rwlocks, mutexs and conditions).

Every pthread call requires an extra error check and this adds a lot of
unneeded noise into the parser code.
Use similar names as used in the OpenBSD kernel for mutexes and rwlocks.
This makes the code more legible.

OK tb@ job@

Reply via email to