blob: ea160c14a1d6ea0f905d6a92a29a9626ae68711d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#include "../incl.h"
#ifndef TIMO_H
#define TIMO_H
using namespace std;
class timo // timeout class
{
protected:
time_t t_time; // last activity time.
pthread_mutex_t mut_t_time;
public:
timo( );
~timo( );
double get_last_activity();
virtual void renew_timeout();
};
#endif
|