watchdog.h File Reference
the watchdog for SMP kernel the main job of this class is to create a thread which watches each execution of threads(filters). If the filter does not report within every 'timeout' seconds, the watchdog gets angry at the filter, and kicks off the threads for system stability. More...
#include <stdio.h>
#include <pthread.h>
#include <unistd.h>
#include <vector>
#include <algorithm>
#include <assert.h>
#include "kernel.h"
Include dependency graph for watchdog.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Detailed Description
the watchdog for SMP kernel the main job of this class is to create a thread which watches each execution of threads(filters). If the filter does not report within every 'timeout' seconds, the watchdog gets angry at the filter, and kicks off the threads for system stability.
==================================================================================
- Author:
- starryalley (starryalley@gmail.com)
- Date:
- 2006/11/12 --starryalley-- initial version
- Note:
- this is still heavily tighted up with SMPKernel class. Cannot be used for general cases
Generated on Fri Aug 31 15:41:55 2007 for SCREAMLinuxMiddleware(SLIM) by
1.5.1