Matching boost::deadline_timer callbacks to corresponding wait_async

前端 未结 2 2041
你的背包
你的背包 2021-01-24 11:21

Consider this short code snippet where one boost::deadline_timer interrupts another:

#include 
#include 
#include 

        
2条回答
  •  既然无缘
    2021-01-24 12:01

    You can boost::bind additional parameters to the completion handler which can be used to identify the source.

提交回复
热议问题