X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Scheduler%2FScheduler.hh;h=0d51c35b4b99e6818411ca97bc7bc56b36c5767d;hb=d5ba3d7759212c90a5f4a25baf0dc38e290c3b64;hp=b320e77776afacefb9bdce62293458e04e3215c9;hpb=84df23442e79b04a5c4e55a93f46a26b8abe4728;p=senf.git diff --git a/Scheduler/Scheduler.hh b/Scheduler/Scheduler.hh index b320e77..0d51c35 100644 --- a/Scheduler/Scheduler.hh +++ b/Scheduler/Scheduler.hh @@ -160,6 +160,9 @@ namespace senf { \todo Fix the file support to use threads (?) fork (?) and a pipe so it works reliably even over e.g. NFS. + + \todo Add a check in the alarm callback which is already called every x seconds to check, + that a single callback is not blocking. */ class Scheduler : boost::noncopyable @@ -269,7 +272,8 @@ namespace senf { unsigned timeout(ClockService::clock_type timeout, SimpleCallback const & cb); ///< Add timeout event - /**< \param[in] timeout timeout in nanoseconds + /**< \returns timer id + \param[in] timeout timeout in nanoseconds \param[in] cb callback to call after \a timeout milliseconds */