diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-08-30 13:43:56 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-08-30 13:43:56 +0200 |
commit | 032d74eaf6179100048a5bf0ce942e97dc8b9a60 (patch) | |
tree | 2e1592719e454240801d69dcca6576211cd28b8a /support/support.h | |
parent | 6090a4a1b32fd7859d0ad5b7e9b240bd5fa04b3f (diff) | |
download | glibc-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.h | 4 |
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; |