Skip to content

Conversation

@reinar
Copy link

@reinar reinar commented Nov 23, 2025

This PR adds high-resolution timer support for Windows (doc, available from Windows 10, version 1803) and if such support is enabled - associates it with iocp port to get rid of separate timer thread.

Feature is gated behind ASIO_ENABLE_IOCP_HIRES_TIMERS define, so default behavior won't be changed from previous versions of asio.

Both on and off states for the feature were tested on Windows 11 26100.7171 with MSVC 19.50.35718 and clang-cl 21.1.6 (default unit test setup, just overridden with boost 1.89.0. Unit tests are passing).

Fixes #1404, #1328

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.

Asio support for high resolution waitable timers Cross-platform

1 participant