开发者

Timer Callback in C++

开发者 https://www.devze.com 2023-01-29 13:48 出处:网络
I need to call a function asynchronously for every x mil开发者_高级运维iseconds. I am coding in C++, Linux environment. What functions could I call to achieve that?Look into the Boost timers.

I need to call a function asynchronously for every x mil开发者_高级运维iseconds. I am coding in C++, Linux environment. What functions could I call to achieve that?


Look into the Boost timers.

http://www.boost.org/doc/libs/1_40_0/doc/html/boost_asio/tutorial/tuttimer2.html

0

精彩评论

暂无评论...
验证码 换一张
取 消