ldas-tools-al 2.6.7
Loading...
Searching...
No Matches
tTimeout.cc File Reference
#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"
Include dependency graph for tTimeout.cc:

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 Documentation

◆ sleepers_type

typedef std::list< sleeper_info_type* > sleepers_type

Function Documentation

◆ main()

int main ( int ArgC,
char ** ArgV )

◆ sleeper()

void * sleeper ( void * Data)

◆ sleeper_test()

void sleeper_test ( int Sleep,
int Wakeup )

◆ task_thread_test()

void task_thread_test ( )

◆ Timeout()

int LDASTools::AL::Timeout ( Task * CallerTask,
int Seconds,
int & Status,
bool ThrowTimeoutException = true )

◆ timer_test()

void timer_test ( bool Expire)

Variable Documentation

◆ Sleepers

sleepers_type Sleepers

◆ sleepers_key

◆ StdErrLog

ErrorLog LDASTools::AL::StdErrLog

◆ Test

◆ WAITER_SIGNAL

const signal_type WAITER_SIGNAL = SignalHandler::SIGNAL_TERMINATE
static

◆ wakeup

Wakeup_ wakeup
static