18.104.22.168 Threads In Python
The following thread-related functions are available in the
This function returns the thread object for the selected thread. If there is no selected thread, this will return
gdb.InferiorThread object has the following attributes:
ID of the thread, as assigned by the operating system. This attribute is a tuple containing three integers. The first is the Process ID (PID); the second is the Lightweight Process ID (LWPID), and the third is the Thread ID (TID). Either the LWPID or TID may be 0, which indicates that the operating system does not use that identifier.
gdb.InferiorThread object has the following methods: