[Numpy-discussion] numpy.random and multiprocessing

David Cournapeau cournape@gmail....
Thu Dec 11 10:04:29 CST 2008


On Fri, Dec 12, 2008 at 12:57 AM, David Cournapeau <cournape@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