func (s *starts) incr(h *supervisor.Handle) { s.mutex.Lock() defer s.mutex.Unlock() id := h.Id() s.counter[id]++ }