about summary refs log tree commit diff
path: root/support/support.h
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-08-30 13:43:56 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-08-30 13:43:56 +0200
commit032d74eaf6179100048a5bf0ce942e97dc8b9a60 (patch)
tree2e1592719e454240801d69dcca6576211cd28b8a /support/support.h
parent6090a4a1b32fd7859d0ad5b7e9b240bd5fa04b3f (diff)
downloadglibc-032d74eaf6179100048a5bf0ce942e97dc8b9a60.tar.gz
glibc-032d74eaf6179100048a5bf0ce942e97dc8b9a60.tar.xz
glibc-032d74eaf6179100048a5bf0ce942e97dc8b9a60.zip
support: Add support_wait_for_thread_exit
Diffstat (limited to 'support/support.h')
-rw-r--r--support/support.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/support/support.h b/support/support.h
index e6911e193a..c219e0d9d1 100644
--- a/support/support.h
+++ b/support/support.h
@@ -174,6 +174,10 @@ timer_t support_create_timer (uint64_t sec, long int nsec, bool repeat,
 /* Disable the timer TIMER.  */
 void support_delete_timer (timer_t timer);
 
+/* Wait until all threads except the current thread have exited (as
+   far as the kernel is concerned).  */
+void support_wait_for_thread_exit (void);
+
 struct support_stack
 {
   void *stack;