summaryrefslogtreecommitdiff
path: root/sysdeps/hurd/pt-destroy-specific.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/hurd/pt-destroy-specific.c')
-rw-r--r--sysdeps/hurd/pt-destroy-specific.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sysdeps/hurd/pt-destroy-specific.c b/sysdeps/hurd/pt-destroy-specific.c
index 2006f2b8..23c7fbc0 100644
--- a/sysdeps/hurd/pt-destroy-specific.c
+++ b/sysdeps/hurd/pt-destroy-specific.c
@@ -71,10 +71,9 @@ __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. */
- /* FIXME what should we do with this one? */
- /* sched_yield (); */
+ sched_yield ();
}
-
+
hurd_ihash_free (thread->thread_specifics);
thread->thread_specifics = 0;
}