Revision: 210 Author: martin2812 Date: Mon Jul 26 09:32:06 2010 Log: [No log message] http://code.google.com/p/monit/source/detail?r=210
Modified: /trunk/monitor.c ======================================= --- /trunk/monitor.c Mon Apr 26 10:00:14 2010 +++ /trunk/monitor.c Mon Jul 26 09:32:06 2010 @@ -722,7 +722,6 @@ sigset_t ns; struct timespec wait; - wait.tv_nsec = 0; set_signal_block(&ns, NULL); LogInfo("M/Monit heartbeat started\n"); LOCK(heartbeatMutex) @@ -733,6 +732,7 @@ wait.tv_sec = time(NULL) + Run.polltime; else wait.tv_sec = time(NULL) + 1; + wait.tv_nsec = 0; pthread_cond_timedwait(&heartbeatCond, &heartbeatMutex, &wait); } } _______________________________________________ monit-dev mailing list monit-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/monit-dev