// Copyright © 2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
namespace CefSharp
{
///
/// Managed enum for cef_thread_id_t/CefThreadId
///
public enum CefThreadIds
{
// BROWSER PROCESS THREADS -- Only available in the browser process.
///
/// The CEF UI thread in the browser. In CefSharp this is ALWAYS
/// separate from the application's main thread (and thus the main
/// WinForm UI thread).
///
TID_UI,
///
/// Used to interact with the database.
///
TID_DB,
///
/// Used to interact with the file system.
///
TID_FILE,
///
/// Used for file system operations that block user interactions.
/// Responsiveness of this thread affects users.
///
TID_FILE_USER_BLOCKING,
///
/// Used to launch and terminate browser processes.
///
TID_PROCESS_LAUNCHER,
///
/// Used to handle slow HTTP cache operations.
///
TID_CACHE,
///
/// Used to process IPC and network messages.
///
TID_IO,
// RENDER PROCESS THREADS -- Only available in the render process.
///
/// The main thread in the renderer. Used for all WebKit and V8 interaction.
///
TID_RENDERER,
}
}