Hello,
During a discussion with a colleague he mentioned that "$urandom_range() is generally fast but suffers from random stability (thread stability has been addressed by LRM but object stability is still an issue)".
In the 1800-2017 I see "$urandom_range() is automatically thread stable (see 18.14.2)."
Also in section 18.14 Random stability
"The RNG is localized to threads and objects. Because the sequence of random values returned by a thread or
object is independent of the RNG in other threads or objects, this property is called random stability.
Random stability applies to the following:
— The system randomization calls, $urandom() and $urandom_range()"
So I'm a bit confused if the term object stability applies to a system call, as the LRM defines it as
"Object stability. Each class instance (object) has an independent RNG for all randomization methods in the class..."
So if this concept applies to system calls, then is the $urandom_range() object stable?
Any hints are really appreciated.
-R