add endless-loop monitor

This commit is contained in:
云风
2012-09-28 16:43:04 +08:00
parent 3c460e3c98
commit b46ba5838c
6 changed files with 106 additions and 9 deletions

View File

@@ -0,0 +1,13 @@
#ifndef SKYNET_MONITOR_H
#define SKYNET_MONITOR_H
#include <stdint.h>
struct skynet_monitor;
struct skynet_monitor * skynet_monitor_new();
void skynet_monitor_delete(struct skynet_monitor *);
void skynet_monitor_trigger(struct skynet_monitor *, uint32_t source, uint32_t destination);
void skynet_monitor_check(struct skynet_monitor *);
#endif