Uh oh!
There was an error while loading. Please reload this page.
zh-CN:Trans for 'Clarify when nextTickQueue is processed' - #2026
Conversation
There was a problem hiding this comment.
直译 饿死 不够生动形象。。。 递归更像撑死。
直接说 阻塞I/O 会不会好一些
There was a problem hiding this comment.
I/O调用因为异步轮询不断调用process.nextTick()始终得不到调用,所以始终处于“饥饿”状态,这是对的。而是说时间轮询队列被撑死了。
我们等一下其它人看法吧,我通读此文感觉这里的确是“饿死”,是说顺序执行的I/O始终得不到机会执行。
There was a problem hiding this comment.
原文:
This can create some bad situations because it allows you to "starve" your I/O by making recursive process.nextTick() calls, which prevents the event loop from reaching the poll phase.
IMHO, 我是觉得没什么太大问题 :)
ZYSzys
left a comment
There was a problem hiding this comment.
如果没理解错的话,event loop 应该翻译成 事件循环 吧。
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Ref:#1804
@nodejs/nodejs-cn