summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2018-07-19 00:01:28 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2018-07-19 00:01:28 +0000
commitcaaba304e3745b7f0d224e9b6788bf34c90cdabd (patch)
tree447bfd4549a08522252104166bf7670e41056580 /doc
parentba6197451e95612bdc3f2790665b5c2c52193e90 (diff)
downloadmpfr-caaba304e3745b7f0d224e9b6788bf34c90cdabd.tar.gz
Shared caches: fix and minor changes.
* Fixed detection and use of C11 thread support: the C11 header is <threads.h>, not <thread.h>. * Renamed WANT_SHARED_CACHE to MPFR_WANT_SHARED_CACHE for consistency with the other MPFR_WANT_* macros. * Added MPFR_THREAD_LOCK_METHOD macro, giving the thread locking method as a string (when shared caches are enabled). * doc/README.dev: documented 4 macros for shared caches. * tests/tversion.c: output MPFR_WANT_SHARED_CACHE and MPFR_THREAD_LOCK_METHOD information. (merged changeset r12937 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12938 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'doc')
-rw-r--r--doc/README.dev9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/README.dev b/doc/README.dev
index d820a2dbd..2aee84045 100644
--- a/doc/README.dev
+++ b/doc/README.dev
@@ -427,6 +427,9 @@ List of macros used for building MPFR (also used for checking):
+ MPFR_HAVE_INTMAX_MAX: Define if the INTMAX_MAX macro works correctly
(if 'intmax_t' is supported).
++ MPFR_HAVE_C11_LOCK: Define if C11 threads are supported.
++ HAVE_PTHREAD: Define if pthread is available.
+
Format of long double.
+ HAVE_LDOUBLE_IS_DOUBLE: IEEE double.
+ HAVE_LDOUBLE_IEEE_EXT_BIG: IEEE extended, big endian.
@@ -470,6 +473,12 @@ Format of long double.
+ MPFR_USE_C11_THREAD_SAFE:
Define to implement TLS in the C11 way.
++ MPFR_WANT_SHARED_CACHE:
+ Define to have caches shared by all threads.
++ MPFR_THREAD_LOCK_METHOD:
+ When MPFR_WANT_SHARED_CACHE is defined, this macro
+ gives the thread locking method (string).
+
+ MPFR_HAVE_NORETURN: Define if the _Noreturn function specifier is
supported.
+ MPFR_HAVE_BUILTIN_UNREACHABLE: