opnsense-src/lib/libthr
Konstantin Belousov 6b96e7a573 libthr/amd64: do not set THR_C_RUNTIME for thr_new() if the main thread did used AMD64_SET_TLSBASE
It is up to the code that organizes the runtime to properly set the
signal handler, and to set %fsbase if libthr signal handler is to be
called. The change should leave the CPU state on the signal handler
entry identical to what it was before introduction of TLSBASE, for code
that provides its own startup and thread pointer, but still calls into
libthr as a hack.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2025-06-22 09:14:07 +03:00
..
arch libthr/amd64: do not set THR_C_RUNTIME for thr_new() if the main thread did used AMD64_SET_TLSBASE 2025-06-22 09:14:07 +03:00
sys lib{c,sys}: stop exposing errno symbol 2024-09-27 20:27:46 +01:00
tests tests: move some files to the tests package 2025-05-05 16:39:25 +01:00
thread libthr/amd64: do not set THR_C_RUNTIME for thr_new() if the main thread did used AMD64_SET_TLSBASE 2025-06-22 09:14:07 +03:00
libthr.3 Canonicalize the name of the FreeBSD Foundation 2024-10-24 05:03:07 +08:00
Makefile libthr.so: mark as -z initfirst 2025-05-06 20:14:56 +03:00
Makefile.depend Update Makefile.depend files 2024-10-14 10:26:17 -07:00
plockstat.d Remove "All Rights Reserved" from FreeBSD Foundation copyrights 2024-07-30 12:16:36 -04:00
pthread.map libthr: add stable user interface for sigfastblock(2) 2025-05-19 09:07:43 +03:00