[Numpy-discussion] numpy.random.RandomState threadsafe?

Hoyt Koepke hoytak@gmail....
Tue Mar 11 16:18:32 CDT 2008


This should be a really quick question.  Is a RandomState object
thread safe?  I'm wanting to use a common RandomState object in a
multithreaded program, and I need to know if it's necessary to protect
it with a lock (which wouldn't be difficult).

Thanks!
--Hoyt


More information about the Numpy-discussion mailing list