The OpenD Programming Language

ThreadBase.getThis

Provides a reference to the calling thread.

class ThreadBase
static @safe nothrow @nogc
getThis
()

Return Value

The thread object representing the calling thread. The result of deleting this object is undefined. If the current thread is not attached to the runtime, a null reference is returned.

Meta