omni::graph::exec::unstable::getCurrentThread

Defined in omni/graph/exec/unstable/IExecutionCurrentThread.h

inline IExecutionCurrentThread *omni::graph::exec::unstable::getCurrentThread() noexcept

Access current thread’s execution state.

The returned pointer is a singleton managed by omni.graph.exec, and does not have omni::core::IObject::acquire() called on it before being returned. The caller should not call omni::core::IObject::release() on the returned raw pointer.

This method always returns a valid pointer.

Thread Safety

This method is thread safe.