Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node 核心 #4

Open
mengxiong10 opened this issue Nov 14, 2017 · 0 comments
Open

Node 核心 #4

mengxiong10 opened this issue Nov 14, 2017 · 0 comments
Labels

Comments

@mengxiong10
Copy link
Owner

mengxiong10 commented Nov 14, 2017

异步I/O

Node通过I/O线程进行阻塞I/O或非阻塞I/O轮询,然后主线程(JavaScript)负责计算,通过线程之间的通信传递数据,完成异步I/O。除了JavaScript是单线程外,Node 自身其实是多线程的,内部完成I/O任务的另有线程池。

@mengxiong10 mengxiong10 changed the title Node 异步I/O Node 核心 Nov 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant