From 72b948945bc10486c9b47ba4252ea50347478e2e Mon Sep 17 00:00:00 2001 From: qydysky Date: Mon, 8 Feb 2021 13:18:47 +0800 Subject: [PATCH] =?utf8?q?=E7=AE=80=E5=8C=96=E5=86=99=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- msgq/Msgq.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/msgq/Msgq.go b/msgq/Msgq.go index f940eb6..d9736d5 100644 --- a/msgq/Msgq.go +++ b/msgq/Msgq.go @@ -21,6 +21,8 @@ type Msgq_item struct { sig uint64 } +type FuncMap map[string]func(interface{})(bool) + func New(want_max_data_mun int) (*Msgq) { m := new(Msgq) (*m).wait_push = make(chan struct{},10) -- 2.39.2