HomeFreeBSD

libc: export pthread_getname_np stub

Description

libc: export pthread_getname_np stub

pthread_getname_np needs to be provided by libc in order to import
jemalloc 5.3.0.

A stub implementation for libc pthread_getname_np() is added for
_pthread_stubs.c, which always reports empty name for the main thread.

Internal _pthread_getname_np() is not exported, but provided for libc
own use.

Reviewed by: kib
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D41461

Details

Provenance
minsoochoo0122_proton.meAuthored on Aug 14 2023, 10:21 PM
kibCommitted on Aug 20 2023, 10:44 PM
Reviewer
kib
Differential Revision
D41461: libc: make pthread_getname_np and _pthread_getname_np available
Parents
rGed3fb74e44b9: share/mk/bsd.cpu.mk: Add AMD Zen 4 for x86
Branches
Unknown
Tags
Unknown