diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 16:23:18 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 16:23:18 +0000 |
commit | 3ae7992ac2104314256d1b2b09c74ed49750c89f (patch) | |
tree | 2669fa8afc3f2c6a0187e76f298b76a5eaa6d96d /libc-top-half/musl/src/thread/pthread_barrier_destroy.c | |
parent | Releasing progress-linux version 0.0~git20221206.8b7148f-1~progress7.99u1. (diff) | |
download | wasi-libc-3ae7992ac2104314256d1b2b09c74ed49750c89f.tar.xz wasi-libc-3ae7992ac2104314256d1b2b09c74ed49750c89f.zip |
Merging upstream version 0.0~git20230113.4362b18.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'libc-top-half/musl/src/thread/pthread_barrier_destroy.c')
-rw-r--r-- | libc-top-half/musl/src/thread/pthread_barrier_destroy.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libc-top-half/musl/src/thread/pthread_barrier_destroy.c b/libc-top-half/musl/src/thread/pthread_barrier_destroy.c index 4ce0b2e..a347a2c 100644 --- a/libc-top-half/musl/src/thread/pthread_barrier_destroy.c +++ b/libc-top-half/musl/src/thread/pthread_barrier_destroy.c @@ -9,7 +9,9 @@ int pthread_barrier_destroy(pthread_barrier_t *b) while ((v = b->_b_lock) & INT_MAX) __wait(&b->_b_lock, 0, v, 0); } +#ifdef __wasilibc_unmodified_upstream /* WASI does not understand processes or locking between them. */ __vm_wait(); +#endif } return 0; } |