37 #ifndef __PARA_TIME_LIMIT_MONITOR_TH_H__ 38 #define __PARA_TIME_LIMIT_MONITOR_TH_H__ 98 hardTimeLimit = timelimit + 3;
116 _sleep(static_cast<unsigned int>(hardTimeLimit));
118 sleep(static_cast<unsigned int>(hardTimeLimit));
123 std::cout <<
"****** send TagHardTimeLimit message *****" << std::endl;
130 #endif // __PARA_TIME_LIMIT_MONITOR_TH_H__ static ScipParaCommTh * comm
ParaComm extension for Pthreads communication.
static const int TagHardTimeLimit
Defines for UG Framework.
ParaTimeLimitMonitorTh(double timelimit)
constructor
void run()
run this time limit monitor
#define PARA_COMM_CALL(paracommcall)
Communicator object for pthreads thread communications.
#define THROW_LOGICAL_ERROR1(msg1)
ParaTimeLimitMonitorTh()
default constructor
static const int ParaBYTE
virtual ~ParaTimeLimitMonitorTh()
destructor
int send(void *bufer, int count, const int datatypeId, int dest, const int tag)
send function for standard ParaData types
ParaComm extension for C++11 thread communication.
class ParaTimeLimitMonitorTh
Communicator object for C++11 thread communications.
double hardTimeLimit
hard time limit