diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-26 16:08:04 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-26 16:08:04 +0000 |
commit | 41927c28dd5030318be5cf71f515449d55b2802b (patch) | |
tree | 41f7cef3a417fee1ee171cdb4f2709f4372ae4f3 /libc-top-half/musl/include/pthread.h | |
parent | Releasing progress-linux version 0.0~git20230821.ec4566b-2~progress7.99u1. (diff) | |
download | wasi-libc-41927c28dd5030318be5cf71f515449d55b2802b.tar.xz wasi-libc-41927c28dd5030318be5cf71f515449d55b2802b.zip |
Merging upstream version 0.0~git20240411.9e8c542.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'libc-top-half/musl/include/pthread.h')
-rw-r--r-- | libc-top-half/musl/include/pthread.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libc-top-half/musl/include/pthread.h b/libc-top-half/musl/include/pthread.h index 05101e8..2c35d0b 100644 --- a/libc-top-half/musl/include/pthread.h +++ b/libc-top-half/musl/include/pthread.h @@ -97,7 +97,9 @@ int pthread_equal(pthread_t, pthread_t); int pthread_setcancelstate(int, int *); int pthread_setcanceltype(int, int *); void pthread_testcancel(void); +#ifdef __wasilibc_unmodified_upstream /* WASI has no cancellation support. */ int pthread_cancel(pthread_t); +#endif #ifdef __wasilibc_unmodified_upstream /* WASI has no CPU scheduling support. */ int pthread_getschedparam(pthread_t, int *__restrict, struct sched_param *__restrict); |