An event loop is a thread that repeatedly takes the next event from its inputs and hands it to the code that handles it. Run-to-completion processing handles each event entirely, including everything it causes, before the next event is taken: no handler is interrupted by another, so a handler never sees a state that another has half changed.
书籍暂未推出简体中文版——当前显示英文版。
Quantitative Finance · 术语表
什么是 Event loop, run-to-completion processing?
又称: event loop · run-to-completion processing