I am writing a C++ application that, among other duties, periodically (once in hour) makes requests to server.
This scheduled task can be interrupted and forced to execute earlier (when application receives new user data).
I've decided to use ConcRT for this purpose.
P.S. HTTP requests are made with good-old WinHTTP (executable must not rely on third-party libraries and keep it's size small). So is there any asynchronous implementations of HTTP request functionality, compliant with ConcRT mechanisms?
You can use the concurrency::timer class in for this