[This is preliminary documentation and is subject to change.]
Thetype exposes the following members.
Returns true (1) if the thread is currently running. This function must be called from the same thread that called cef_thread_create().
Provides access to the underlying native cef struct. This is a refcounted library struct derived from cef_base_t. Add a ref in order to keep it alive when this managed object go out of scope.(Inherited from CfxLibraryBase.)
Returns the platform thread ID. It will return the same value after stop() is called. This function is safe to call from any thread.
Returns the CfxTaskRunner that will execute code on this thread's message loop. This function is safe to call from any thread.
Create and start a new thread. This function does not block waiting for the thread to run initialization. |displayName| is the name that will be used to identify the thread. |priority| is the thread execution priority. |messageLoopType| indicates the set of asynchronous events that the thread can process. If |stoppable| is true (1) the thread will stopped and joined on destruction or when stop() is called; otherwise, the the thread cannot be stopped and will be leaked on shutdown. On Windows the |comInitMode| value specifies how COM will be initialized for the thread. If |comInitMode| is set to COM_INIT_MODE_STA then |messageLoopType| must be set to ML_TYPE_UI.
Stop and join the thread. This function must be called from the same thread that called cef_thread_create(). Do not call this function if cef_thread_create() was called with a |stoppable| value of false (0).