X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Scheduler%2FClockService.cc;h=44b54046e365c07df2d566f7c36d0aa33acfe25e;hb=51044eb18f034c1a059ffe2fb109a422c1cbe251;hp=f31ec4f447e663da62c273e82d06908b4c04dda3;hpb=ffa36b2d409289a2f3f0de46667aa2bf558f393f;p=senf.git diff --git a/Scheduler/ClockService.cc b/Scheduler/ClockService.cc index f31ec4f..44b5404 100644 --- a/Scheduler/ClockService.cc +++ b/Scheduler/ClockService.cc @@ -1,8 +1,8 @@ // $Id$ // // Copyright (C) 2007 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY // Stefan Bund // // This program is free software; you can redistribute it and/or modify @@ -31,13 +31,13 @@ #include #include #include -#include "Utils/Exception.hh" +#include "../Utils/Exception.hh" //#include "ClockService.mpp" #define prefix_ ///////////////////////////////cc.p//////////////////////////////////////// -#define CheckError(op,args) if (op args < 0) throw SystemException(# op, errno) +#define CheckError(op,args) if (op args < 0) throwErrno(# op, errno) /////////////////////////////////////////////////////////////////////////// // senf::ClockService::Impl @@ -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(); }