X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fpthread.h;h=af70b7398d6b7b2e41962e5923efadb5cbe0cdc6;hb=4cd8b4725907651f329e2f96d428c4e3521643f8;hp=2697e8bc10870e06a2b7b18d26d438663abe21fa;hpb=f164875a84c35d0e0d132f99330d3fcda76ee7aa;p=musl diff --git a/include/pthread.h b/include/pthread.h index 2697e8bc..af70b739 100644 --- a/include/pthread.h +++ b/include/pthread.h @@ -63,6 +63,7 @@ extern "C" { #define PTHREAD_CANCEL_ENABLE 0 #define PTHREAD_CANCEL_DISABLE 1 +#define PTHREAD_CANCEL_MASKED 2 #define PTHREAD_CANCEL_DEFERRED 0 #define PTHREAD_CANCEL_ASYNCHRONOUS 1 @@ -78,9 +79,6 @@ int pthread_detach(pthread_t); _Noreturn void pthread_exit(void *); int pthread_join(pthread_t, void **); -#ifdef __GNUC__ -__attribute__((const)) -#endif pthread_t pthread_self(void); int pthread_equal(pthread_t, pthread_t);