MCPcopy
hub / github.com/hwholiday/learning_tools / Run

Method Run

game/match/match.go:43–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41}
42
43func (m *MatchPool) Run() {
44 m.match()
45 //for {
46 // select {
47 // case <-time.After(time.Second * 1):
48 // {
49 // m.match()
50 // }
51 // }
52 //}
53}
54
55func (m *MatchPool) match() {
56 if m.isWork {

Callers 1

Test_NewMatchPoolFunction · 0.95

Calls 1

matchMethod · 0.95

Tested by 1

Test_NewMatchPoolFunction · 0.76