SimGrid (3.23) NOT RELEASED (Release Target: June 21. 2019, 15:54 UTC)
+General:
+ - Stop setting random seed with srand48() at initialization.
+
XBT:
- New log appenders: stdout and stderr. Use stdout for xbt_help.
- Drop xbt_dict_dump.
#include <sys/stat.h>
#ifdef WIN32
#include <direct.h> // _mkdir
-/* Need to define function drand48 for Windows */
-#define drand48() (rand() / (RAND_MAX + 1.0))
#endif
typedef simgrid::instr::Container* container_t;
#endif
xbt_log_preinit();
xbt_dict_preinit();
-
-#ifndef _WIN32
- constexpr unsigned seed = 2147483647;
- srand48(seed); // FIXME: still worthwhile?
-#endif
atexit(xbt_postexit);
}