open class ThreadUtils
This class test if Main runPipline
abstract class MainThreadRunnable : Task |
|
abstract class ReplaceGlThreadRunnable : GlThreadRunnable |
|
abstract class ReplaceThreadRunnable : WorkerThreadRunnable |
|
abstract class SequencedGlThreadRunnable : GlThreadRunnable |
|
abstract class SequencedThreadRunnable : WorkerThreadRunnable |
static val CPU_CORE_COUNT: Int |
open fun addTask(runnable: WorkerThreadRunnable!): Unit
Run parallel in background but serialized executed in a group. |
|
open fun createGlWorker(): Unit |
|
open fun finalize(): Unit |
|
open static fun getWorker(): ThreadUtils! |
|
open fun initGlWorker(egl: EGL10!, renderContext: EGLContext!, display: EGLDisplay!, eglConfig: EGLConfig!, version: Int): Unit |
|
open static fun isRunning(): Boolean |
|
open static fun postToMainThread(runnable: ThreadUtils.MainThreadRunnable!): Unit
Run Ui operation on the main thread at the next UI Frame. |
|
open fun releaseGlWorker(): Unit |
|
open static fun runOnMainThread(runnable: ThreadUtils.MainThreadRunnable!): Unit
Run Ui operation on the main thread at the next UI Frame or instant if the execution thread already the main thread. |
|
open static fun thisIsUiThread(): Boolean
Check if this is the Ui thread. |