diff options
Diffstat (limited to 'gdb/testsuite/gdb.hp/thr-lib.h')
-rw-r--r-- | gdb/testsuite/gdb.hp/thr-lib.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.hp/thr-lib.h b/gdb/testsuite/gdb.hp/thr-lib.h new file mode 100644 index 0000000..c9395df --- /dev/null +++ b/gdb/testsuite/gdb.hp/thr-lib.h @@ -0,0 +1,7 @@ +#include <stdio.h> +#include <pthread.h> + +#define NTHREADS 4 +#define NUM_ELEMS 12 + +#define ELEMS_PER_THREAD (NUM_ELEMS/NTHREADS) |