[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit

Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/ap/libc/glibc/glibc-2.22/include/pthread.h b/ap/libc/glibc/glibc-2.22/include/pthread.h
new file mode 100644
index 0000000..858c869
--- /dev/null
+++ b/ap/libc/glibc/glibc-2.22/include/pthread.h
@@ -0,0 +1,16 @@
+#include_next <pthread.h>
+
+#ifndef _ISOMAC
+/* Prototypes repeated instead of using __typeof because pthread.h is
+   included in C++ tests, and declaring functions with __typeof and
+   __THROW doesn't work for C++.  */
+extern int __pthread_barrier_init (pthread_barrier_t *__restrict __barrier,
+				 const pthread_barrierattr_t *__restrict
+				 __attr, unsigned int __count)
+     __THROW __nonnull ((1));
+extern int __pthread_barrier_wait (pthread_barrier_t *__barrier)
+     __THROWNL __nonnull ((1));
+
+/* This function is called to initialize the pthread library.  */
+extern void __pthread_initialize (void) __attribute__ ((weak));
+#endif