From 0c71eb80e2376d1b3ed61025d3c6a436b30046bb Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Mon, 21 Jun 2021 05:43:41 +0000 Subject: [PATCH] Update perldelta with the C11 thread local storage probe and usage. --- pod/perldelta.pod | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 46adbf4c12ed..0bad20706c65 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -97,7 +97,14 @@ There may well be none in a stable release. =item * -XXX +We now probe for compiler support for C11 thread local storage, and where +available use this for "implicit context" for XS extensions making API calls for +a threaded Perl build. This requires fewer function calls at the C level than +POSIX thread specific storage. We continue to use the the pthreads approach if +the C11 approach is not available. + +F run with the defaults will build an unthreaded Perl (which is +slightly faster), but most operating systems ship a threaded Perl. =back