|
ldas-tools-al 2.6.7
|
#include <time.h>#include <unistd.h>#include <list>#include "ldastoolsal/UnitTestTS.h"#include "ldastoolsal/ErrorLog.hh"#include "ldastoolsal/TaskTimer.hh"#include "ldastoolsal/TaskThread.hh"#include "ldastoolsal/ThreadPool.hh"#include "ldastoolsal/Timeout.hh"#include "ldastoolsal/mutexlock.hh"#include "ldastoolsal/SignalHandler.hh"
Classes | |
| struct | sleeper_info_type |
| class | Wakeup_ |
| class | Timer |
| Give a task a maximum amount of time to complete. More... | |
Typedefs | |
| typedef std::list< sleeper_info_type * > | sleepers_type |
Functions | |
| void * | sleeper (void *Data) |
| void | sleeper_test (int Sleep, int Wakeup) |
| void | task_thread_test () |
| void | timer_test (bool Expire) |
| int | main (int ArgC, char **ArgV) |
| int | Timeout (Task *CallerTask, int Seconds, int &Status, bool ThrowTimeoutException=true) |
Variables | |
| LDASTools::Testing::UnitTestTS | Test |
| static const signal_type | WAITER_SIGNAL = SignalHandler::SIGNAL_TERMINATE |
| MutexLock::baton_type | sleepers_key = MutexLock::Baton( ) |
| sleepers_type | Sleepers |
| Wakeup_ | wakeup |
| ErrorLog | StdErrLog |
| typedef std::list< sleeper_info_type* > sleepers_type |
| void * sleeper | ( | void * | Data | ) |
| void task_thread_test | ( | ) |
| int LDASTools::AL::Timeout | ( | Task * | CallerTask, |
| int | Seconds, | ||
| int & | Status, | ||
| bool | ThrowTimeoutException = true ) |
| void timer_test | ( | bool | Expire | ) |
| sleepers_type Sleepers |
| MutexLock::baton_type sleepers_key = MutexLock::Baton( ) |
| ErrorLog LDASTools::AL::StdErrLog |
|
static |
|
static |