mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 04:33:05 +00:00
add endless-loop monitor
This commit is contained in:
13
skynet-src/skynet_monitor.h
Normal file
13
skynet-src/skynet_monitor.h
Normal 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
|
||||
Reference in New Issue
Block a user