summaryrefslogtreecommitdiff
path: root/components/libc/pthreads/pthread.h
diff options
context:
space:
mode:
authorliukangcc <[email protected]>2021-09-03 11:38:48 +0800
committerliukangcc <[email protected]>2021-09-16 09:51:33 +0800
commita3541b2a243bdf1cc49029b696b217ce752199c7 (patch)
treeed7bd0398a322fb597938f3fb476909a7cc66606 /components/libc/pthreads/pthread.h
parentdca7dcb42a44249abbe6c36ce2a69355e60d1f79 (diff)
[update] support armclang and c++11.
Diffstat (limited to 'components/libc/pthreads/pthread.h')
-rw-r--r--components/libc/pthreads/pthread.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/components/libc/pthreads/pthread.h b/components/libc/pthreads/pthread.h
index 8639c1604b..177b2539c5 100644
--- a/components/libc/pthreads/pthread.h
+++ b/components/libc/pthreads/pthread.h
@@ -265,6 +265,11 @@ int pthread_barrier_init(pthread_barrier_t *barrier,
int pthread_barrier_wait(pthread_barrier_t *barrier);
+int pthread_setspecific(pthread_key_t key, const void *value);
+void *pthread_getspecific(pthread_key_t key);
+int pthread_key_create(pthread_key_t *key, void (*destructor)(void *));
+int pthread_key_delete(pthread_key_t key);
+
#ifdef __cplusplus
}
#endif