HomeFreeBSD

libthr: move _umtx_op_err() to libsys

Description

libthr: move _umtx_op_err() to libsys

Declare in sys/umtx.h and implement in libsys. Explicitly link libthr
with libsys.

When building libthr static include _umtx_op_err so we don't break static
linkage with -lpthread.

Reviewed by: kib, emaste, imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/908

Details

Provenance
brooksAuthored on Jan 17 2024, 8:26 PM
Differential Revision
D14609: Split libc into libc and libsys
Parents
rGe9d961055aa2: libsys: plumb in to build
Branches
Unknown
Tags
Unknown