diff options
Diffstat (limited to 'trand.h')
| -rw-r--r-- | trand.h | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -0,0 +1,16 @@ +#ifndef TRAND_H + #define TRAND_H + + #ifndef DEF_NTHREAD + #define DEF_NTHREAD 4 + #endif + +#include <pthread.h> +#include <time.h> +#include <stdlib.h> + +int ntrand(unsigned long long n); +int trand(); +int strand(); + +#endif |
