class documentation

class Thread:

View In Hierarchy

Represents some basic information about a thread.

Warnings

This object is not meant to be constructed directly. Use OssiContext.thread instead.

Method __init__ Initializes a new Thread instance from a low-level object.
Property id Property: The id of the thread
Property owner_process_id Property: ID of the process that owns the thread
Method owner_process Owner process of the thread
Method __repr__ Undocumented
Method __str__ Undocumented
Instance Variable _rvn_thread Undocumented
Instance Variable _ctx_id Undocumented
Instance Variable _datasource Undocumented
def __init__(self, _rvn_thread, _ctx_id, _datasource):

Initializes a new Thread instance from a low-level object.

Warnings

This object is not meant to be constructed directly. Use OssiContext.thread instead.

Information

Parameters_rvn_threadUndocumented
_ctx_idUndocumented
_datasourceUndocumented
_rvn_processlow-level process
_rvn_thread =

Undocumented

_ctx_id =

Undocumented

_datasource =

Undocumented

@property
id =

Property: The id of the thread

(type: int)
@property
owner_process_id =

Property: ID of the process that owns the thread

(type: int)
def owner_process(self):

Owner process of the thread

The owner process of a thread is the process where the thread was started. On Windows, a process can attach its thread to another thread, possibly in a different process (see the AttachThreadInput function).

In that case, the owner process can be different from the currently running process. return self._datasource.query_owner_process_of_current_thread(self._ctx_id)

ReturnsUndocumented (type: _Optional[_Process])
def __repr__(self):

Undocumented

ReturnsUndocumented (type: str)
def __str__(self):

Undocumented

ReturnsUndocumented (type: str)
API Documentation for reven2, generated by pydoctor 21.2.2 at 2022-03-08 15:23:15.