mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-20 01:12:17 +08:00
Same as support_process_state_wait, but wait for the task TID (obtained with gettid) from the current process. Since the kernel might remove the /proc/<pid>/task/<tid>/status at any time if the thread terminates, the code needs to handle possible fopen/getline/fclose failures due to an inexistent file. Reviewed-by: Florian Weimer <fweimer@redhat.com>
4.4 KiB
4.4 KiB