aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/htl/pt-barrierattr-setpshared.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2019-01-02 22:21:34 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2019-01-02 22:21:34 +0100
commit55137f7dd939bc8403a63f4cade73ff90575b821 (patch)
treed059f563e3641dd007d2ba664482c5849f2c642a /sysdeps/htl/pt-barrierattr-setpshared.c
parentacb55dcb892d4321ada6fd9b663b28fada432682 (diff)
downloadglibc-55137f7dd939bc8403a63f4cade73ff90575b821.tar
glibc-55137f7dd939bc8403a63f4cade73ff90575b821.tar.gz
glibc-55137f7dd939bc8403a63f4cade73ff90575b821.tar.bz2
glibc-55137f7dd939bc8403a63f4cade73ff90575b821.zip
hurd: advertise *_setpshared as not supported
The functions themselves return 0, but initializing a mutex/etc with . pshared set to 1 will fail anyway . * sysdeps/htl/pt-barrierattr-setpshared.c (pthread_barrierattr_setpshared): Add stub warning. * sysdeps/htl/pt-condattr-setpshared.c (pthread_condattr_setpshared): Likewise. * sysdeps/htl/pt-mutexattr-setpshared.c (pthread_mutexattr_setpshared): Likewise. * sysdeps/htl/pt-rwlockattr-setpshared.c (pthread_rwlockattr_setpshared): Likewise. * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c (pthread_mutexattr_setpshared): Likewise.
Diffstat (limited to 'sysdeps/htl/pt-barrierattr-setpshared.c')
-rw-r--r--sysdeps/htl/pt-barrierattr-setpshared.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/htl/pt-barrierattr-setpshared.c b/sysdeps/htl/pt-barrierattr-setpshared.c
index b4999e80ef..4756a39fad 100644
--- a/sysdeps/htl/pt-barrierattr-setpshared.c
+++ b/sysdeps/htl/pt-barrierattr-setpshared.c
@@ -35,3 +35,4 @@ pthread_barrierattr_setpshared (pthread_barrierattr_t *attr, int pshared)
return EINVAL;
}
}
+stub_warning (pthread_barrierattr_setpshared)