diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-01-13 01:33:21 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-01-13 01:38:33 +0100 |
commit | ae793cc20d80eec6ccffc31612b635b8c1b82e89 (patch) | |
tree | 76a9748f3fca3e40c3551fd74b204199821ae0db /sysdeps | |
parent | 196e62cbe4acdab22a95740b618c699863ed460c (diff) | |
download | glibc-ae793cc20d80eec6ccffc31612b635b8c1b82e89.tar.gz glibc-ae793cc20d80eec6ccffc31612b635b8c1b82e89.tar.xz glibc-ae793cc20d80eec6ccffc31612b635b8c1b82e89.zip |
htl: Avoid exposing unixoid functions
C11 threads should not expose them.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/htl/pt-destroy-specific.c | 2 | ||||
-rw-r--r-- | sysdeps/mach/htl/pt-timedblock.c | 2 | ||||
-rw-r--r-- | sysdeps/mach/hurd/Versions | 3 |
3 files changed, 5 insertions, 2 deletions
diff --git a/sysdeps/htl/pt-destroy-specific.c b/sysdeps/htl/pt-destroy-specific.c index 8430a5fb09..319aa4875f 100644 --- a/sysdeps/htl/pt-destroy-specific.c +++ b/sysdeps/htl/pt-destroy-specific.c @@ -68,7 +68,7 @@ __pthread_destroy_specific (struct __pthread *thread) /* This may take a very long time. Let those blocking on pthread_key_create or pthread_key_delete make progress. */ - sched_yield (); + __sched_yield (); } free (thread->thread_specifics); diff --git a/sysdeps/mach/htl/pt-timedblock.c b/sysdeps/mach/htl/pt-timedblock.c index 3b8779367d..63af869c90 100644 --- a/sysdeps/mach/htl/pt-timedblock.c +++ b/sysdeps/mach/htl/pt-timedblock.c @@ -39,7 +39,7 @@ __pthread_timedblock (struct __pthread *thread, /* We have an absolute time and now we have to convert it to a relative time. Arg. */ - err = clock_gettime (clock_id, &now); + err = __clock_gettime (clock_id, &now); assert (!err); if (now.tv_sec > abstime->tv_sec diff --git a/sysdeps/mach/hurd/Versions b/sysdeps/mach/hurd/Versions index 35257a0906..1d6633f782 100644 --- a/sysdeps/mach/hurd/Versions +++ b/sysdeps/mach/hurd/Versions @@ -14,6 +14,9 @@ libc { _dl_init_first; __close_nocancel_nostatus; + + # functions used in other libraries + __sigprocmask; } } |