[PATCH v3] [RFC] Fix AIX thread exit events not being reported and UI to show kernel thread ID.

Ulrich Weigand Ulrich.Weigand@de.ibm.com
Thu May 2 18:28:59 GMT 2024


Aditya Kamath1 <Aditya.Kamath1@ibm.com> wrote:

>There is no way pbuf is able tell us whether a thread exits or not.
>Though a thread reached the PST_TERM state it still ends up being in
>the for loop (cmd = FIRST to last) and therefore the pbuf list.

My point was that you could simply check whether the state is
PST_TERM and if so, just not add this thread to the pbuf to begin
with.  After that, just run through the pbuf vs. gbuf comparison
as it is today.

Bye,
Ulrich



More information about the Gdb-patches mailing list