mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
htl: move pthread_cond_timedwait, pthread_cond_clockwait, pthread_cond_wait into libc.
Message-ID: <20241219203727.669825-9-gfleury@disroot.org>
This commit is contained in:
@@ -21,9 +21,6 @@
|
||||
|
||||
#include <pthread.h>
|
||||
|
||||
int __pthread_cond_wait (pthread_cond_t *, pthread_mutex_t *);
|
||||
int __pthread_cond_timedwait (pthread_cond_t *, pthread_mutex_t *,
|
||||
const struct timespec *);
|
||||
void __pthread_exit (void *) __attribute__ ((__noreturn__));
|
||||
int _pthread_mutex_destroy (pthread_mutex_t *);
|
||||
int _pthread_mutex_init (pthread_mutex_t *,
|
||||
@@ -51,9 +48,6 @@ int _cthreads_ftrylockfile (FILE *);
|
||||
so if possible avoid breaking it and append new hooks to the end. */
|
||||
struct pthread_functions
|
||||
{
|
||||
int (*ptr_pthread_cond_wait) (pthread_cond_t *, pthread_mutex_t *);
|
||||
int (*ptr_pthread_cond_timedwait) (pthread_cond_t *, pthread_mutex_t *,
|
||||
const struct timespec *);
|
||||
void (*ptr___pthread_exit) (void *) __attribute__ ((__noreturn__));
|
||||
int (*ptr_pthread_mutex_destroy) (pthread_mutex_t *);
|
||||
int (*ptr_pthread_mutex_init) (pthread_mutex_t *,
|
||||
|
Reference in New Issue
Block a user