-
Notifications
You must be signed in to change notification settings - Fork 0
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
uv_default_loop() 函数做了什么? #7
Comments
上面代码量很大,但其实都是初始化一些基本数据,本文不关心这些0还是-1代表什么,具体可以参考下面给的文章去阅读具体含义。但是上面的步骤里至少用到了 成员变量的含义,可以参考:https://blog.butonly.com/posts/node.js/libuv/2-libuv-event-loop/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
上面的代码可以看出来,就是一个单例的静态初始化,真正初始化的事情是
uv_loop_init
做的。The text was updated successfully, but these errors were encountered: