From e70e302a44c4bdad484ef1a7830555c5970f2f80 Mon Sep 17 00:00:00 2001 From: tege Date: Sun, 16 Apr 2000 23:37:32 +0200 Subject: Update text about reentrancy. --- gmp.texi | 7 ++++--- 1 file 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 -- cgit v1.2.1