type ICefThread = interface(ICefBaseRefCounted)
A simple thread abstraction that establishes a message loop on a new thread. The consumer uses ICefTaskRunner to execute code on the thread's message loop. The thread is terminated when the ICefThread object is destroyed or stop() is called. All pending tasks queued on the thread's message loop will run to completion before the thread is terminated. cef_thread_create() can be called on any valid CEF thread in either the browser or render process. This interface should only be used for tasks that require a dedicated thread. In most cases you can post tasks to an existing CEF thread instead of creating a new one; see cef_task.h for details.
UNKNOWN
<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_thread_capi.h">CEF source file: /include/capi/cef_thread_capi.h (cef_thread_t))
function GetTaskRunner: ICefTaskRunner; |
|
function GetPlatformThreadID: TCefPlatformThreadId; |
|
procedure Stop; |
|
function IsRunning: boolean; |
function GetTaskRunner: ICefTaskRunner; |
|
Returns the ICefTaskRunner that will execute code on this thread's message loop. This function is safe to call from any thread. Attributes
|
function GetPlatformThreadID: TCefPlatformThreadId; |
|
Returns the platform thread ID. It will return the same value after stop() is called. This function is safe to call from any thread. |
function IsRunning: boolean; |
|
Returns true (1) if the thread is currently running. This function must be called from the same thread that called cef_thread_create(). |