class documentation
class Thread:
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 |
Owner process of the thread |
Property | id |
Property: The id of the thread |
Property | owner |
Property: ID of the process that owns the thread |
Instance Variable | _ctx |
Undocumented |
Instance Variable | _datasource |
Undocumented |
Instance Variable | _rvn |
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_reven_api.Thread | low-level thread |
_ctxint | Undocumented |
_datasource:_DataSource | Undocumented |
def __str__(self):
Returns the nicely printable string representation of this instance.
Returns | |
str | Undocumented |
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[ | Undocumented |