summaryrefslogtreecommitdiff
path: root/components/pthreads/pthread_tls.c
diff options
context:
space:
mode:
authorbernard.xiong <[email protected]>2010-11-15 09:46:50 +0000
committerbernard.xiong <[email protected]>2010-11-15 09:46:50 +0000
commitaca1628a31c2acca262a90af921501368f8cfcc2 (patch)
treec16bc86bd18ffda0e7c9f604c75f3477119ea064 /components/pthreads/pthread_tls.c
parentac407d25ae36ed2e4510867133a10009692052b4 (diff)
cleanup pthread implementation code.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1048 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/pthreads/pthread_tls.c')
-rw-r--r--components/pthreads/pthread_tls.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/components/pthreads/pthread_tls.c b/components/pthreads/pthread_tls.c
index e69de29bb2..7efb0b3255 100644
--- a/components/pthreads/pthread_tls.c
+++ b/components/pthreads/pthread_tls.c
@@ -0,0 +1,19 @@
+#include <pthread.h>
+
+void *pthread_getspecific(pthread_key_t key)
+{
+}
+
+int pthread_setspecific(pthread_key_t key, const void *value)
+{
+}
+
+int pthread_key_create(pthread_key_t *key, void (*destructor)(void*))
+{
+ return 0;
+}
+
+int pthread_key_delete(pthread_key_t key)
+{
+ return 0;
+}