diff options
| author | gfleury <gfleury@disroot.org> | 2024-12-31 15:49:04 +0200 |
|---|---|---|
| committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2025-01-02 00:51:05 +0100 |
| commit | 15686aa188d280de3c271b4b1b115aa35c1e6851 (patch) | |
| tree | 4110a67fcc33e3e15e06bbb49aca400b498e8e88 /sysdeps/htl/pthreadP.h | |
| parent | beabc5dff50230dfc9b5cda9448559952fdc470a (diff) | |
| download | glibc-15686aa188d280de3c271b4b1b115aa35c1e6851.tar.xz glibc-15686aa188d280de3c271b4b1b115aa35c1e6851.zip | |
htl: move pthread_mutexattr_getprotocol into libc.
Message-ID: <20241231134909.1166440-4-gfleury@disroot.org>
Diffstat (limited to 'sysdeps/htl/pthreadP.h')
| -rw-r--r-- | sysdeps/htl/pthreadP.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/htl/pthreadP.h b/sysdeps/htl/pthreadP.h index b32c41b1d0..9798fcb8a5 100644 --- a/sysdeps/htl/pthreadP.h +++ b/sysdeps/htl/pthreadP.h @@ -40,6 +40,9 @@ extern int __pthread_mutex_timedlock (pthread_mutex_t *__mutex, extern int __pthread_mutex_unlock (pthread_mutex_t *__mutex); extern int __pthread_mutexattr_settype (pthread_mutexattr_t *attr, int kind); +extern int __pthread_mutexattr_getprotocol(const pthread_mutexattr_t *__restrict __attr, + int *__restrict __protocol); +libc_hidden_proto (__pthread_mutexattr_getprotocol) extern int __pthread_cond_init (pthread_cond_t *cond, const pthread_condattr_t *cond_attr); libc_hidden_proto (__pthread_cond_init) |
