cleanup pthread implementation code.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1048 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
bernard.xiong
2010-11-15 09:46:50 +00:00
parent ac407d25ae
commit aca1628a31
14 changed files with 478 additions and 169 deletions

View File

@@ -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)
{
}