admin
2020-06-10 a610f2ab6e543d2cb78c1ef212ac6a74ddc067d9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
// 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
{
    /// <summary>
    /// Managed enum for cef_thread_id_t/CefThreadId
    /// </summary>
    public enum CefThreadIds
    {
        // BROWSER PROCESS THREADS -- Only available in the browser process.
 
        /// <summary>
        /// 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).
        /// </summary>
        TID_UI,
 
        /// <summary>
        /// Used to interact with the database.
        /// </summary>
        TID_DB,
 
        /// <summary>
        /// Used to interact with the file system.
        /// </summary>
        TID_FILE,
 
        /// <summary>
        /// Used for file system operations that block user interactions.
        /// Responsiveness of this thread affects users.
        /// </summary>
        TID_FILE_USER_BLOCKING,
 
        /// <summary>
        /// Used to launch and terminate browser processes.
        /// </summary>
        TID_PROCESS_LAUNCHER,
 
        /// <summary>
        /// Used to handle slow HTTP cache operations.
        /// </summary>
        TID_CACHE,
 
        /// <summary>
        /// Used to process IPC and network messages.
        /// </summary>
        TID_IO,
 
        // RENDER PROCESS THREADS -- Only available in the render process.
 
        /// <summary>
        /// The main thread in the renderer. Used for all WebKit and V8 interaction.
        /// </summary>
        TID_RENDERER,
    }
}