jimingham wrote:

Seems good to be able to see the backing threads somehow.  

All the current users of CommandObjectIterateOverThreads currently that we have 
right now are informational only.  Showing information about the backing 
threads is fine, but we don't want to let users operate on the backing threads. 
 So there has to be a way to say "only allow backing threads for read-only 
Command's.

It also seems like using this as it is would be tedious if I have lots of 
threads and not all of them are OS Plugin backed.  To find backed threads I 
have to do `thread list` then `thread list --backing-thread` and then compare 
the two lists.  Maybe we can have the Thread::GetDescription recognize that 
it's printing a backing thread, and decorate it somehow?  That way you could 
easily pick out the backing threads in a listing.


Also, you need to either disallow or think of what `unique` means as a thread 
specifier when you are showing backing threads.

https://github.com/llvm/llvm-project/pull/129275
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to