git-libpthread_setpshared
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Sat, 29 Jun 2024 10:27:34 +0000 (13:27 +0300)
committerAdrian Bunk <bunk@debian.org>
Sat, 29 Jun 2024 10:27:34 +0000 (13:27 +0300)
commit 55137f7dd939bc8403a63f4cade73ff90575b821
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Wed Jan 2 22:21:34 2019 +0100

    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.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-libpthread_setpshared.diff

sysdeps/htl/pt-barrierattr-setpshared.c
sysdeps/htl/pt-condattr-setpshared.c
sysdeps/htl/pt-mutexattr-setpshared.c
sysdeps/htl/pt-rwlockattr-setpshared.c
sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c

index c3aed869ca8199375d288b93a4bffda6c29953fa..444d87c679fb2d6ad1ab6d3502b8b2b5a6ee7a76 100644 (file)
@@ -35,3 +35,4 @@ pthread_barrierattr_setpshared (pthread_barrierattr_t *attr, int pshared)
       return EINVAL;
     }
 }
+stub_warning (pthread_barrierattr_setpshared)
index e1d3f682e332d35c6d1f5495d18d6ddcb70dac8e..73ead6772e6af0cd7e65730021a29cfe4231ecc8 100644 (file)
@@ -35,3 +35,4 @@ pthread_condattr_setpshared (pthread_condattr_t *attr, int pshared)
       return EINVAL;
     }
 }
+stub_warning (pthread_condattr_setpshared)
index f3136436ecb435b3610b5bd2a718516c7aae9065..e616f688a88128d6ca0fa31e19ef5e376a0970a7 100644 (file)
@@ -35,3 +35,4 @@ pthread_mutexattr_setpshared (pthread_mutexattr_t *attr, int pshared)
       return EINVAL;
     }
 }
+stub_warning (pthread_mutexattr_setpshared)
index 3ec15147cd3af05d7cbaa406f1d9bc944468cdc9..33ad7a2b50c4eb17fd66c00c7da7a8a066faaa79 100644 (file)
@@ -35,3 +35,4 @@ pthread_rwlockattr_setpshared (pthread_rwlockattr_t *attr, int pshared)
       return EINVAL;
     }
 }
+stub_warning (pthread_rwlockattr_setpshared)
index 6bed94fbce34a390cb8268816188e6ee48845ae4..08ed8f40f7c57220a4d8c5b91c36f55f739b70a3 100644 (file)
@@ -32,3 +32,4 @@ pthread_mutexattr_setpshared (pthread_mutexattr_t *attrp, int pshared)
   attrp->__pshared = pshared;
   return 0;
 }
+stub_warning (pthread_mutexattr_setpshared)