HomeFreeBSD

libthr: Use TLS_TCB_* in _tcb_[cd]tor.

Description

libthr: Use TLS_TCB_* in _tcb_[cd]tor.

This matches libc and rtld in using the alignment (TLS_TCB_ALIGN) from
machine/tls.h instead of hardcoding 16.

Reviewed by: kib
Sponsored by: The University of Cambridge, Google Inc.
Differential Revision: https://reviews.freebsd.org/D34023

(cherry picked from commit 8de1a8131e42f96f8dcfbca9073896d249ff7d2c)

Details

Provenance
jhbAuthored on Jan 25 2022, 7:38 PM
Reviewer
kib
Differential Revision
D34023: libthr: Use TLS_TCB_* in _tcb_[cd]tor.
Parents
rGb08a08f24d75: cxgbei: Parse all PDUs received prior to enabling offload mode.
Branches
Unknown
Tags
Unknown