aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.hp/thread-local-in-lib.h
diff options
context:
space:
mode:
authorDavid Taylor <taylor@redhat.com>1999-01-04 15:37:21 +0000
committerDavid Taylor <taylor@redhat.com>1999-01-04 15:37:21 +0000
commit8e260d5270d6b2228b710ba2dc0b24ad6eb98222 (patch)
tree2ee753aef4d6179db32b4dffc378a9b6cb7c114e /gdb/testsuite/gdb.hp/thread-local-in-lib.h
parent7cada34aec73e03dbbbb95fbfb07c6fc5c5ed4bb (diff)
downloadgdb-8e260d5270d6b2228b710ba2dc0b24ad6eb98222.zip
gdb-8e260d5270d6b2228b710ba2dc0b24ad6eb98222.tar.gz
gdb-8e260d5270d6b2228b710ba2dc0b24ad6eb98222.tar.bz2
new files -- part of HP merge.
Diffstat (limited to 'gdb/testsuite/gdb.hp/thread-local-in-lib.h')
-rw-r--r--gdb/testsuite/gdb.hp/thread-local-in-lib.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.hp/thread-local-in-lib.h b/gdb/testsuite/gdb.hp/thread-local-in-lib.h
new file mode 100644
index 0000000..c9395df
--- /dev/null
+++ b/gdb/testsuite/gdb.hp/thread-local-in-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)