|
CEF3 C++ API Docs - Version 80.1.4+g8927396+chromium-80.0.3987.149
|
FRAMES
NO FRAMES |
SUMMARY: INNER | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |
(default)
Typedef cef_thread_priority_t
in cef_types.h
Existing thread IDs.
cef_thread_priority_t
public typedef enum {///// The main thread in the browser. This will be the same as the main// application thread if CefInitialize() is called with a// CefSettings. multi_threaded_message_loop value of false. Do not perform// blocking tasks on this thread. All tasks posted after// CefBrowserProcessHandler::OnContextInitialized() and before CefShutdown()// are guaranteed to run. This thread will outlive all other CEF threads./// TID_UI,///// 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 CefBrowserProcessHandler::OnContextInitialized() and before
// CefShutdown() are guaranteed to run.
///
TID_FILE_BACKGROUND,
TID_FILE = TID_FILE_BACKGROUND,
///
// 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
// CefBrowserProcessHandler::OnContextInitialized() and before CefShutdown()
// 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_VISIBLE,
///
// Used for blocking tasks (e.g. file system access) that affect UI
// immediately after a user interaction. All tasks posted after
// CefBrowserProcessHandler::OnContextInitialized() and before CefShutdown()
// are guaranteed to run.
// Example: Generating data shown in the UI immediately after a click.
///
TID_FILE_USER_BLOCKING,
///
// Used to launch and terminate browser processes.
///
TID_PROCESS_LAUNCHER,
///
// Used to process IPC and network messages. Do not perform blocking tasks on
// this thread. All tasks posted after
// CefBrowserProcessHandler::OnContextInitialized() and before CefShutdown()
// are guaranteed to run.
///
TID_IO,
///
// The main thread in the renderer. Used for all WebKit and V8 interaction.
// Tasks may be posted to this thread after
// CefRenderProcessHandler::OnRenderThreadCreated but are not guaranteed to
// run before sub-process termination (sub-processes may be killed at any time
// without warning).
///
TID_RENDERER,
} cef_thread_id_t;
///
// Thread priority values listed in increasing order of importance.
///
typedef enum {
///
// Suitable for threads that shouldn' t disrupt high priority work./// TP_BACKGROUND,///// Default priority level./// TP_NORMAL,///// Suitable for threads which generate data for the display( at ~60Hz )./// TP_DISPLAY,///// Suitable for low- latency, glitch- resistant audio./// TP_REALTIME_AUDIO, } cef_thread_priority_t;
|
CEF3 C++ API Docs - Version 80.1.4+g8927396+chromium-80.0.3987.149
|
FRAMES
NO FRAMES |
SUMMARY: INNER | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |
Chromium Embedded Framework (CEF) Copyright © 2016 Marshall A. Greenblatt