Threads

final class ntoseye.Threads

A collection of threads: dbg.threads (all threads) or proc.threads, keyed by TID or by a ThreadInfo record (stop.thread).

__contains__(key: Any, /) → bool
__getitem__(key: int | ThreadInfo, /) → Thread

The thread with a TID, or the thread a ThreadInfo record describes (dbg.threads[stop.thread], which also finds an idle thread, which has no TID).

__iter__() → Iterator[Thread]
__len__() → int
at(address: int | str | Process | Thread | Module | Driver | Device | Heap) → Thread | None

The thread at an ETHREAD or KTHREAD address, or None.

get(key: int | ThreadInfo) → Thread | None

The thread with a TID, or the thread a ThreadInfo record describes (dbg.threads[stop.thread], which also finds an idle thread, which has no TID).