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

reuse timer to reduce waste of resource #22

Open
snowyu opened this issue Nov 14, 2018 · 0 comments
Open

reuse timer to reduce waste of resource #22

snowyu opened this issue Nov 14, 2018 · 0 comments

Comments

@snowyu
Copy link

snowyu commented Nov 14, 2018

Use a global timer pool to manage the "timers" and events.

Create a real timer and many virtual timers.

When a new timer coming, we need recalc the proper internal value and maybe free the old real timer and create the new one.

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

No branches or pull requests

1 participant