PosixThread

Undocumented in source.

Constructors

this
this(ThreadContext ctx)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

cancel
void cancel()

Forcefully cancels the thread, stopping execution.

join
bool join(uint timeout, bool rethrow)

Waits for the thread to finish execution.

start
void start()

Starts the given thread.

Properties

isRunning
bool isRunning [@property getter]

Whether the thread is currently running.

tid
ThreadId tid [@property getter]

ID of the thread.

Meta