history
Renderer - n
electron
node.js和chromiums整合
node.js的事件循环基于libuv
chromium的事件循环基于message bump
chromium集成到node.js:用libuv实现messagebump(nw)
nodejs集成到Chromium:electron - shelley Vohr - JSHeroes2019
1
2
3A event happeds in node |a Electron Main Thread |b Chromium MessageLoop
|a Electron's main thread is notified via the same fd as libuv
|b Electron tells Chromium's MessageLopp to clear libuv eventselectron-internals-node-integration(electronjs.org)
Electron: The Event Loop Tightrope - Shelley Vohr | JSHeroes 2019 - ytb - JS/Heroes
shell/common/node_bindings.cc