Message388369
A sleep(1) call affects exactly one aspect of the program: the state of the PRNG rand(). You re-initialize the process globale RNG in every function call with srand((unsigned) time(&t)). time() has a granularity of one second. |
|
Date |
User |
Action |
Args |
2021-03-09 16:07:53 | christian.heimes | set | recipients:
+ christian.heimes, eric.smith, dwoodjunkmail |
2021-03-09 16:07:53 | christian.heimes | set | messageid: <1615306073.28.0.117397431002.issue43435@roundup.psfhosted.org> |
2021-03-09 16:07:53 | christian.heimes | link | issue43435 messages |
2021-03-09 16:07:53 | christian.heimes | create | |
|