diff options
author | tege <tege@gmplib.org> | 2000-04-16 23:37:32 +0200 |
---|---|---|
committer | tege <tege@gmplib.org> | 2000-04-16 23:37:32 +0200 |
commit | e70e302a44c4bdad484ef1a7830555c5970f2f80 (patch) | |
tree | c8e83b0fb6376b5ea253edfbe90ef2b949d980a2 | |
parent | 2faf37aebb8dda5961f7bd5dd8f80c3ee42b3fe9 (diff) | |
download | gmp-e70e302a44c4bdad484ef1a7830555c5970f2f80.tar.gz |
Update text about reentrancy.
-rw-r--r-- | gmp.texi | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |