Skip to content
This repository has been archived by the owner on Jun 22, 2021. It is now read-only.

What't the thought about libuv event loop design #173

Open
monkindey opened this issue Oct 2, 2020 · 1 comment
Open

What't the thought about libuv event loop design #173

monkindey opened this issue Oct 2, 2020 · 1 comment

Comments

@monkindey
Copy link

I am interesting in the thought about libuv event loop design.Why the stages and order of the loop iteration is timers、pending callbacks、Poll、check、close ? Any thought and example on it ?

Thanks

@bnoordhuis
Copy link
Member

Mostly because that's, by and large, what libev did.

Node.js used libev before it was ported to Windows. Libuv was written as a portable replacement for libev.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants