dimanche 28 février 2016

Does random objects successively created within a very short peroid of time have the same seed value?

I am wondering, in languages like java and c#, default random objects have time-based seed value and if these objects are created within a very short period of time, like creating inside double or triple looping, won't they have same seed and produce the same results? Is this behavior platform-dependent? Can the random objects of multiple thread acts like that?




Aucun commentaire:

Enregistrer un commentaire