X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Scheduler%2FClockService.cc;h=21a34b4201a5960195856c8c7f4bcd2ca54d862d;hb=22860b5b3420ac5b876690242845595650ff9dc3;hp=e481c142652acbce3c3552151ed41c42e9c33bbe;hpb=8d2d26f114d3df0a60c5c516fcf40671b1e55558;p=senf.git diff --git a/Scheduler/ClockService.cc b/Scheduler/ClockService.cc index e481c14..21a34b4 100644 --- a/Scheduler/ClockService.cc +++ b/Scheduler/ClockService.cc @@ -49,6 +49,7 @@ struct senf::ClockService::Impl void block(); void unblock(); + /// Internal: temporarily block signals (RAII idiom) struct Blocker { Blocker(Impl * i) : impl(i) { impl->block(); } ~Blocker() { impl->unblock(); }