HomeFreeBSD

Ensure that threading library is initialized in pthread_mutex_init().

Description

Ensure that threading library is initialized in pthread_mutex_init().

We need at least thr_malloc ready. The situation is possible e.g. in case
of libthr being listed in DT_NEEDED before some of its consumers.

Reported and tested by: lev
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
kibAuthored on
Parents
rS368189: uma: Avoid allocating buckets with the cross-domain lock held
Branches
Unknown
Tags
Unknown