git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@453
91ce42f0-d328-0410-95d8-
f526ca767f89
Dmsg0(200, "Start watchdog thread\n");
pthread_detach(pthread_self());
- P(mutex);
for ( ;!quit; ) {
time_t timer_start, now;
* Now handle child and thread timers set by the code.
*/
/* Walk child chain killing off any process overdue */
+ P(mutex);
for (wid = timer_chain; wid; wid=wid->next) {
int killed = FALSE;
/* First ask him politely to go away */
}
}
}
-
+ V(mutex);
} /* end of big for loop */
- V(mutex);
Dmsg0(200, "End watchdog\n");
return NULL;
}
/* */
#define VERSION "1.30"
#define VSTRING "1"
-#define BDATE "21 April 2003"
-#define LSMDATE "21Apr03"
+#define BDATE "22 April 2003"
+#define LSMDATE "22Apr03"
/* Debug flags */
#define DEBUG 1