George Bosilca
6a9f0b6ba9
Explicit cast to keep some compilers quiet.
...
This commit was SVN r12003.
2006-10-05 05:29:08 +00:00
Jeff Squyres
38b34b6a7c
* Use time(NULL) to seed the random number generator because it has a
...
wider space than getpid()
* Include <time.h> to get time()'s prototype
* Fix typo that prevented using /dev/urandom on systems that had it
This commit was SVN r11780.
2006-09-25 15:32:54 +00:00
Brian Barrett
2bfb2b8a8a
* Add sys/stat.h so that this compiiles on OS X
...
* Properly protect headers with #ifdefs
This commit was SVN r11771.
2006-09-24 18:40:55 +00:00
Galen Shipman
01de9de9a0
Use /dev/urandom.. doesn't block like /dev/random may..
...
This commit was SVN r11769.
2006-09-24 07:52:42 +00:00
Tim Prins
a4f1018afd
cleanup compiler warning
...
This commit was SVN r11763.
2006-09-23 01:17:39 +00:00
Galen Shipman
04e9483aab
fall back to rand() if /dev/random doesn't exist or the read to /dev/random
...
would block..
This commit was SVN r11725.
2006-09-20 16:59:44 +00:00
Galen Shipman
b02185374f
Push a generated "key" out to all the processes. This is necessary for some
...
interconnect wireup in which all processes must agree on a "key" to initialize
the interconnect with.
This commit was SVN r11653.
2006-09-14 15:27:17 +00:00