summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2000-04-16 23:37:32 +0200
committertege <tege@gmplib.org>2000-04-16 23:37:32 +0200
commite70e302a44c4bdad484ef1a7830555c5970f2f80 (patch)
treec8e83b0fb6376b5ea253edfbe90ef2b949d980a2
parent2faf37aebb8dda5961f7bd5dd8f80c3ee42b3fe9 (diff)
downloadgmp-e70e302a44c4bdad484ef1a7830555c5970f2f80.tar.gz
Update text about reentrancy.
-rw-r--r--gmp.texi7
1 files changed, 4 insertions, 3 deletions
diff --git a/gmp.texi b/gmp.texi
index 68beb03a4..149e28e0b 100644
--- a/gmp.texi
+++ b/gmp.texi
@@ -708,10 +708,11 @@ The memory allocation functions, @code{malloc} and friends, that GMP
uses unless directed to use custom allocation, may not be reentrant.
@item
-The random number functions (@code{mpz_random}, etc) use an underlying
+The old random number functions (@code{mpz_random}, etc) use an underlying
random number generator from the C library, typically @code{mrand48} or
-@code{random}. These routines are not reentrant, since they rely on
-global state.
+@code{random}. These routines are not reentrant, since they rely on global
+state. (The newer random number functions that accept a
+@code{gmp_randstate_t} parameter are however reentrant.)
@end itemize
If the memory allocation functions (@code{malloc} and friends, or