X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Scheduler%2FScheduler.cci;h=1e69ee1e2d5935bebd1fbaeb8631439904d8e75e;hb=a4ebeef29f8eb69dc2dad10668d762540002b924;hp=d332654343472922effba8978f74d9c22573f336;hpb=1835b928b179302ecb716d697fbf3fa24b415ba4;p=senf.git diff --git a/Scheduler/Scheduler.cci b/Scheduler/Scheduler.cci index d332654..1e69ee1 100644 --- a/Scheduler/Scheduler.cci +++ b/Scheduler/Scheduler.cci @@ -1,9 +1,9 @@ // $Id$ // -// Copyright (C) 2006 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) -// Stefan Bund +// Copyright (C) 2006 +// 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 // it under the terms of the GNU General Public License as published by @@ -20,23 +20,38 @@ // Free Software Foundation, Inc., // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -// Definition of inline non-template functions +/** \file + \brief Scheduler inline non-template implementation + */ //#include "Scheduler.ih" // Custom includes +#include #define prefix_ inline ///////////////////////////////cci.p/////////////////////////////////////// -prefix_ void satcom::lib::Scheduler::terminate() +// public members + +prefix_ senf::ClockService::clock_type senf::scheduler::eventTime() +{ + return scheduler::detail::FdManager::instance().eventTime(); +} + +prefix_ void senf::scheduler::taskTimeout(unsigned ms) +{ + scheduler::detail::FIFORunner::instance().taskTimeout(ms); +} + +prefix_ unsigned senf::scheduler::taskTimeout() { - terminate_ = true; + return scheduler::detail::FIFORunner::instance().taskTimeout(); } -prefix_ int satcom::lib::retrieve_filehandle(int fd) +prefix_ unsigned senf::scheduler::hangCount() { - return fd; + return scheduler::detail::FIFORunner::instance().hangCount(); } ///////////////////////////////cci.e/////////////////////////////////////// @@ -45,5 +60,10 @@ prefix_ int satcom::lib::retrieve_filehandle(int fd) // Local Variables: // mode: c++ -// c-file-style: "satcom" +// fill-column: 100 +// c-file-style: "senf" +// indent-tabs-mode: nil +// ispell-local-dictionary: "american" +// compile-command: "scons -u test" +// comment-column: 40 // End: