CVSROOT: /cvs Module name: src Changes by: [email protected] 2026/03/27 06:26:58
Modified files:
lib/libc/thread: rthread_mutex.c rthread_sync.c
Log message:
Make pthread_mutex_destroy() not error out for mutexes that were initalized
with PTHREAD_MUTEX_INITIALIZER but not used.
Unify handling of mutexp == NULL in both version of pthread_mutex_destroy()
and ensure that *mutexp == NULL is not considered an error.
Problem found by tb@ with rpki-client.
OK kettenis@ tb@
