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

Enables the timer scheduler's customization for both deadline and waitable timers #25

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

securesocketfunneling
Copy link

This pull request is linked to pull request discussion #24

The discussion on timer precisions with @haegele-tv lead us to think that we have to design our own timer mechanism for the boost asio udt implementation requirements.

The perfect place to do so would be to design a specific timer scheduler (as it is done with WinRT, or Linux, Windows...) and benefit of the entire deadline/waitable timer io_objects and io_services architecture.

Yet, the timer scheduler is NOT customizable by the user. This patch allows third party developers to specify a custom timer scheduler for any specific requirements.

What do you think?

@securesocketfunneling
Copy link
Author

Here is a branch using custom timer_scheduler:

Timer_benchmark tool on develop-high-precision-timer-scheduler branch.

This could be achieved using timer_scheduler customization as this PR suggests.

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