vendredi 15 novembre 2019

C++ How to schedule an asynchronous function to run in the future from a set time?

For example:

I receive a UDP message that contains my start time.

I then start receiving UDP messages with data that is valid in X seconds from that start time.

I have specific functions to handle the data I receive. How can I schedule the function to run at the time when the data becomes valid?

Aucun commentaire:

Enregistrer un commentaire