This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]