Пример #1
0
func (s *starts) incr(h *supervisor.Handle) {
	s.mutex.Lock()
	defer s.mutex.Unlock()
	id := h.Id()
	s.counter[id]++
}