Skip to content
Snippets Groups Projects
Commit 4fe85243 authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

fiber scheduling: schedule ready fibers more aggressively

If a fiber becomes ready on a user-defined event, schedule it
in the same event loop, not in the next loop, to save one epoll_wait()
invocation in cases when something is added to a fiber channel,
and there is a fiber ready for execution waiting on the channel.

Add a micro-bench to the unit test suite.
parent c39c6ed8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment