![]() ![]() |
![]() |
version 1.9, 2003/07/23 03:36:24 | version 1.10, 2003/08/06 14:54:06 | ||
---|---|---|---|
|
| ||
System::getCurrentTime( sec, milliSec ); | System::getCurrentTime( sec, milliSec ); | ||
srand( (int) sec ); | srand( (int) sec ); | ||
#ifdef PEGASUS_PLATFORM_SOLARIS_SPARC | |||
Unit32 seed; | |||
randNum = rand_r(*seed); | |||
#else | |||
randNum = rand(); | randNum = rand(); | ||
#endif | |||
// | // | ||
// Make sure the random number generated is between 0-63. | // Make sure the random number generated is between 0-63. |
|
No CVS admin address has been configured |
Powered by ViewCVS 0.9.2 |