summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads/pthandles.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-31 05:05:15 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-31 05:05:15 +0000
commitcccc549ced940c85039c8ce263c8bb571f244afd (patch)
treeef77a870db7211ad6f511867fc56ee1a1a8b4c18 /libpthread/linuxthreads/pthandles.c
parente73b1211737842732951f9b9049294ef732e1ef0 (diff)
initial import of latest linuxthreads
Diffstat (limited to 'libpthread/linuxthreads/pthandles.c')
-rw-r--r--libpthread/linuxthreads/pthandles.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libpthread/linuxthreads/pthandles.c b/libpthread/linuxthreads/pthandles.c
new file mode 100644
index 000000000..acc47e28d
--- /dev/null
+++ b/libpthread/linuxthreads/pthandles.c
@@ -0,0 +1,5 @@
+#include "pthread.h"
+#include "internals.h"
+
+/* Array of active threads. Entry 0 is reserved for the initial thread. */
+struct pthread_handle_struct __pthread_handles[PTHREAD_THREADS_MAX];