Version 98.1.210
Managed enum for cef_thread_id_t/CefThreadId
Namespace:
CefSharp
Assembly:
CefSharp (in CefSharp.dll) Version: 98.1.210.0 (98.1.210.0)
Syntax public enum class CefThreadIds
Members
| Member name | Value | Description |
---|
| TID_UI | 0 |
The CEF UI thread in the browser. In CefSharp this is by default
different from your main applications UI Thread
(e.g. WPF/WinForms UI Threads). Only when MultiThreadedMessageLoop
is false will this be the same as your app UI Thread.
|
| TID_FILE_BACKGROUND | 1 |
Used for blocking tasks (e.g. file system access) where the user won't
notice if the task takes an arbitrarily long time to complete. All tasks
posted after OnContextInitialized
and before Cef.Shutdown() are guaranteed to run.
|
| TID_FILE_USER_VISIBLE | 2 |
Used for blocking tasks (e.g. file system access) that affect UI or
responsiveness of future user interactions. Do not use if an immediate
response to a user interaction is expected. All tasks posted after
OnContextInitialized and before Cef.Shutdown()
are guaranteed to run.
Examples:
- Updating the UI to reflect progress on a long task.
- Loading data that might be shown in the UI after a future user
interaction.
|
| TID_FILE_USER_BLOCKING | 3 |
Used for blocking tasks (e.g. file system access) that affect UI
immediately after a user interaction. All tasks posted after
OnContextInitialized and before Cef.Shutdown()
are guaranteed to run.
Example: Generating data shown in the UI immediately after a click.
|
| TID_PROCESS_LAUNCHER | 4 |
Used to launch and terminate browser processes.
|
| TID_IO | 5 |
Used to process IPC and network messages. Do not perform blocking tasks on
this thread. All tasks posted after OnContextInitialized
and before Cef.Shutdown() are guaranteed to run.
|
| TID_RENDERER | 6 |
The main thread in the renderer. Used for all WebKit and V8 interaction.
Tasks may be posted to this thread after
CefRenderProcessHandler::OnWebKitInitialized but are not guaranteed to
run before sub-process termination (sub-processes may be killed at any time
without warning).
|
See Also