aboutsummaryrefslogtreecommitdiff
path: root/trand.h
diff options
context:
space:
mode:
Diffstat (limited to 'trand.h')
-rw-r--r--trand.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/trand.h b/trand.h
new file mode 100644
index 0000000..7286c45
--- /dev/null
+++ b/trand.h
@@ -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