Skip to content

Replace busy loop by smarter polling#11

Open
BraveMole wants to merge 2 commits intovolvo-cars:masterfrom
BraveMole:to_see
Open

Replace busy loop by smarter polling#11
BraveMole wants to merge 2 commits intovolvo-cars:masterfrom
BraveMole:to_see

Conversation

@BraveMole
Copy link
Contributor

Replace busy loop by smarter polling.

Instead of having a run_until we unblock from the run_one by posting when needed. So when a future is set, we poll, when a timer is completed, we poll, etc. Thats allows ready fibers to be immediately executed

@BraveMole
Copy link
Contributor Author

@edge90 I think you are the only one that can approve that

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

Successfully merging this pull request may close these issues.

1 participant