diff options
Diffstat (limited to 'mdk-stage1/dietlibc/libpthread/pthread_testcancel.c')
-rw-r--r-- | mdk-stage1/dietlibc/libpthread/pthread_testcancel.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/mdk-stage1/dietlibc/libpthread/pthread_testcancel.c b/mdk-stage1/dietlibc/libpthread/pthread_testcancel.c deleted file mode 100644 index 4151faca3..000000000 --- a/mdk-stage1/dietlibc/libpthread/pthread_testcancel.c +++ /dev/null @@ -1,16 +0,0 @@ -#include <errno.h> - -#include <pthread.h> -#include "thread_internal.h" - -void pthread_testcancel() -{ - _pthread_descr thread; - __THREAD_INIT(); - - thread=__thread_self(); - - if (thread && thread->canceled) { - pthread_exit(PTHREAD_CANCELED); - } -} |