Furthermore the default rand [function state is implemented with a 
global](https://github.com/nim-lang/Nim/blob/72e15ff739cc73fbf6e3090756d3f9cb3d5af2fa/lib/pure/random.nim#L40-L43)
 and is thread unsafe. Each of your threads should use a state{.threadvar.} 
initialized with their own random seed instead.

Reply via email to