diff options
| author | [email protected] <[email protected]> | 2012-11-23 02:40:32 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-11-23 02:40:32 +0000 |
| commit | 44eaae8c80cfd320bb81fce14aec60f207fb240f (patch) | |
| tree | 825b852c6eccebd9fd655271ee3b94d5cb8ccd6a /components/pthreads/pthread_tls.c | |
| parent | ffbd0a167379c3fe4c31a4d0f65d7c3adfd4f16a (diff) | |
export more symbols of PThread.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2433 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/pthreads/pthread_tls.c')
| -rw-r--r-- | components/pthreads/pthread_tls.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/components/pthreads/pthread_tls.c b/components/pthreads/pthread_tls.c index c01840df59..9649b5dafc 100644 --- a/components/pthreads/pthread_tls.c +++ b/components/pthreads/pthread_tls.c @@ -22,6 +22,7 @@ void *pthread_getspecific(pthread_key_t key) return NULL;
}
+RTM_EXPORT(pthread_getspecific);
int pthread_setspecific(pthread_key_t key, const void *value)
{
@@ -44,6 +45,7 @@ int pthread_setspecific(pthread_key_t key, const void *value) return EINVAL;
}
+RTM_EXPORT(pthread_setspecific);
int pthread_key_create(pthread_key_t *key, void (*destructor)(void*))
{
@@ -67,6 +69,7 @@ int pthread_key_create(pthread_key_t *key, void (*destructor)(void*)) rt_exit_critical();
return EAGAIN;
}
+RTM_EXPORT(pthread_key_create);
int pthread_key_delete(pthread_key_t key)
{
@@ -79,4 +82,5 @@ int pthread_key_delete(pthread_key_t key) return 0;
}
+RTM_EXPORT(pthread_key_delete);
|
