Advertisement

完成任务于CEF线程

阅读量:

CEF包含多种线程类型,例如TID_UI以及TID_RENDER,每种类型均具有明确的定义,其具体分类在cef_types.h文件中进行说明,部分内容摘录如下:

复制代码
    typedef enum {
    // BROWSER PROCESS THREADS -- Only available in the browser process.
    
      ///
      // 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.
      ///
      TID_UI,
    
      ///
      // Used to interact with the database.
      ///
      TID_DB,
    
      ///
      // Used to interact with the file system.
      ///
      TID_FILE,
    

全部评论 (0)

还没有任何评论哟~