getCurrentThread#
Fully qualified name: omni::graph::exec::unstable::getCurrentThread
- inline IExecutionCurrentThread *omni::graph::exec::unstable::getCurrentThread(
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.