]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libthr: Use TLS_TCB_* in _tcb_[cd]tor.
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 25 Jan 2022 19:38:34 +0000 (11:38 -0800)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 25 Jan 2022 19:38:34 +0000 (11:38 -0800)
commit8de1a8131e42f96f8dcfbca9073896d249ff7d2c
tree232409e2e29b8fea83189392c4a8a1ca6c82df15
parent42e51b158a945ffc216fc9c73f1f0cf6f47e3795
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
lib/libthr/thread/thr_ctrdtr.c