This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 0/2] Improve td_ta_thr_iter main thread faking logic
- From: Gary Benson <gbenson at redhat dot com>
- To: libc-alpha at sourceware dot org
- Date: Mon, 23 Nov 2015 10:49:53 +0000
- Subject: [PATCH 0/2] Improve td_ta_thr_iter main thread faking logic
- Authentication-results: sourceware.org; auth=none
Hi all,
Currently td_ta_thr_iter fakes a special descriptor for the main
thread if __stack_user == NULL. This leaves a tiny window between
INIT_LIST_HEAD (&__stack_user) and the main thread being added
during which td_ta_thr_iter will fail to call the callback and the
debugger will see a process with no threads.
This series updates the main thread faking logic to fake a main
thread in any situation where no real threads were seen.
Ok to commit?
Cheers,
Gary
--
http://gbenson.net/