Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Seed the random generators before the main()
authorMartin Quinson <martin.quinson@loria.fr>
Thu, 7 Feb 2013 01:14:02 +0000 (02:14 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Thu, 7 Feb 2013 20:11:11 +0000 (21:11 +0100)
commitd0e28d3286e2c95074db63933b0a500223d5d767
tree9e3e68b2b3963eccd81a638e60a09b4ff745e425
parentca70fc1b66134fce9158fd2efa78ba13c2fe06ae
Seed the random generators before the main()

Otherwise, it is possible that the user set the seed s/he wants before
initializing simgrid, that would then override it with another seed.
That would be a *very mean* side effect of initializing simgrid :)
src/xbt/xbt_main.c