summaryrefslogtreecommitdiff
path: root/components/pthreads/pthread.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.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.c')
-rw-r--r--components/pthreads/pthread.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/components/pthreads/pthread.c b/components/pthreads/pthread.c
index 8200b471ec..964f57ad29 100644
--- a/components/pthreads/pthread.c
+++ b/components/pthreads/pthread.c
@@ -274,3 +274,29 @@ int pthread_atfork(void (*prepare)(void), void (*parent)(void), void (*child)(vo
return ENOTSUP;
}
+int pthread_kill(pthread_t thread, int sig)
+{
+ return ENOTSUP;
+}
+
+void pthread_cleanup_pop(int execute)
+{
+}
+
+void pthread_cleanup_push(void (*routine)(void*), void *arg)
+{
+}
+
+int pthread_setcancelstate(int state, int *oldstate)
+{
+}
+
+int pthread_setcanceltype(int type, int *oldtype)
+{
+ return 0;
+}
+
+void pthread_testcancel(void)
+{
+}
+