diff options
Diffstat (limited to 'src/global.go')
-rw-r--r-- | src/global.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/global.go b/src/global.go new file mode 100644 index 0000000..4e08866 --- /dev/null +++ b/src/global.go | |||
@@ -0,0 +1,10 @@ | |||
1 | package main | ||
2 | |||
3 | import "sync" | ||
4 | |||
5 | var pids sync.Map // 古希腊掌管进程的神,int->*process | ||
6 | var wg sync.WaitGroup // 掌管协程 | ||
7 | var rawChan chan interface{} // 从接收到整理的管道 | ||
8 | var cookedChan chan Event // 整理好的信息的管道 | ||
9 | var syscallTable [500]string //记录一下系统调用 | ||
10 | var containerdPid int | ||