summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads/pthandles.c
diff options
context:
space:
mode:
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];