mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 17:53:37 +08:00
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.
This commit is contained in:
parent
acb55dcb89
commit
55137f7dd9
13
ChangeLog
13
ChangeLog
@ -1,3 +1,16 @@
|
||||
2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
|
||||
|
||||
* 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.
|
||||
|
||||
2019-01-02 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
|
||||
|
@ -35,3 +35,4 @@ pthread_barrierattr_setpshared (pthread_barrierattr_t *attr, int pshared)
|
||||
return EINVAL;
|
||||
}
|
||||
}
|
||||
stub_warning (pthread_barrierattr_setpshared)
|
||||
|
@ -35,3 +35,4 @@ pthread_condattr_setpshared (pthread_condattr_t *attr, int pshared)
|
||||
return EINVAL;
|
||||
}
|
||||
}
|
||||
stub_warning (pthread_condattr_setpshared)
|
||||
|
@ -35,3 +35,4 @@ pthread_mutexattr_setpshared (pthread_mutexattr_t *attr, int pshared)
|
||||
return EINVAL;
|
||||
}
|
||||
}
|
||||
stub_warning (pthread_mutexattr_setpshared)
|
||||
|
@ -35,3 +35,4 @@ pthread_rwlockattr_setpshared (pthread_rwlockattr_t *attr, int pshared)
|
||||
return EINVAL;
|
||||
}
|
||||
}
|
||||
stub_warning (pthread_rwlockattr_setpshared)
|
||||
|
@ -32,3 +32,4 @@ pthread_mutexattr_setpshared (pthread_mutexattr_t *attrp, int pshared)
|
||||
attrp->__pshared = pshared;
|
||||
return 0;
|
||||
}
|
||||
stub_warning (pthread_mutexattr_setpshared)
|
||||
|
Loading…
Reference in New Issue
Block a user