Consider this short code snippet where one boost::deadline_timer interrupts another:
#include #include #include
You can boost::bind additional parameters to the completion handler which can be used to identify the source.
boost::bind