summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2020-06-10 09:37:15 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2020-06-10 09:37:15 +0000
commit350f339c509034322a18f491a2ae470668cb2cc4 (patch)
tree1e1486b89b98bd783c1fdccac4c6fd26c7db1737
parent745f6f74d62335b031f6ddfb77b66a086a4428fc (diff)
downloadmpfr-350f339c509034322a18f491a2ae470668cb2cc4.tar.gz
[doc/mini-gmp] Note also that the random functions are not thread-safe.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13959 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r--doc/mini-gmp3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/mini-gmp b/doc/mini-gmp
index 4a8d6a600..da3f80b2b 100644
--- a/doc/mini-gmp
+++ b/doc/mini-gmp
@@ -26,7 +26,8 @@ before including mpfr.h (or you may want to modify mini-gmp.h).
Remark: The random functions provided by MPFR configured with mini-gmp
use the POSIX lrand48() and srand48() functions (the platform needs to
provide them), thus one should avoid mini-gmp if one needs some really
-serious random functions.
+serious random functions. Another consequence is that these functions
+are not thread-safe.
This was tested with MPFR svn r13226 and GMP 6.1.2 on x86_64 GNU/Linux:
============================================================================