![]() |
Blitz Support : |
From: Patrik (patrik_at_[hidden])
Date: 2003-07-19 14:17:01
Hi,
I have two questions about the random member generators.
1. I would like to be able to save the state of the rng, so I can continue
the same sequence when the program restarts. Is this possible? I don't
see anything in the documentation about it.
2. There's a note saying the rng's are "not suitable" for parallel
programs. What does this mean? Does it mean that the shared data
structure is not protected even if compiled with bz_threadsafe and they
will be corrupted if multiple threads try to use them? Or does it simply
mean that they are not efficient for concurrent access? Or any other reason?
Thanks,
/Patrik