[Numpy-discussion] numpy.random and multiprocessing

David Cournapeau cournape at gmail.com
Thu Dec 11 11:04:29 EST 2008


On Fri, Dec 12, 2008 at 12:57 AM, David Cournapeau <cournape at gmail.com> wrote:

> Taking a look at the mtrand code in numpy, if the seed is not given,
> it is taken from /dev/random if available, or the time clock if not; I
> don't know what the semantics are for concurrent access to /dev/random
> (is it gauranteed that two process will get different values from it
> ?).
>

Sorry, the mtrand code use /dev/urandom, not /dev/random, if available.

David



More information about the NumPy-Discussion mailing list