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.
Method __repr__ Undocumented
Method __str__ Returns the nicely printable string representation of this instance.
Method owner_process Owner process of the thread
Property id Property: The id of the thread
Property owner_process_id Property: ID of the process that owns the thread
Instance Variable _ctx_id Undocumented
Instance Variable _datasource Undocumented
Instance Variable _rvn_thread 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_thread:_reven_api.Threadlow-level thread
_ctx_id:intUndocumented
_datasource:_DataSourceUndocumented
def __repr__(self):

Undocumented

Returns
strUndocumented
def __str__(self):

Returns the nicely printable string representation of this instance.

Returns
strUndocumented
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.

Returns
_Optional[_Process]Undocumented
@property
id: int =

Property: The id of the thread

@property
owner_process_id: int =

Property: ID of the process that owns the thread

_ctx_id =

Undocumented

_datasource =

Undocumented

_rvn_thread =

Undocumented