[PATCH 0/2] Improve td_ta_thr_iter main thread faking logic

Gary Benson gbenson@redhat.com
Mon Nov 23 10:50:00 GMT 2015


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/



More information about the Libc-alpha mailing list