inEngineThread

fun inEngineThread(thread: Thread = Thread.currentThread()): Boolean

Indicate whether we are currently executing on an engine thread.

Return

true if the thread is an engine thread, false otherwise.

Parameters

thread

The thread to check; defaults to the current thread.