about summary refs log tree commit diff
path: root/sysdeps/htl
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-01-13 01:33:21 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-01-13 01:38:33 +0100
commitae793cc20d80eec6ccffc31612b635b8c1b82e89 (patch)
tree76a9748f3fca3e40c3551fd74b204199821ae0db /sysdeps/htl
parent196e62cbe4acdab22a95740b618c699863ed460c (diff)
downloadglibc-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/htl')
-rw-r--r--sysdeps/htl/pt-destroy-specific.c2
1 files changed, 1 insertions, 1 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);