code: func (m *model) StartDeadlockDetector(timeout time.Duration) {
  	l.Infof("Starting deadlock detector with %v timeout", timeout)
  	detector := newDeadlockDetector(timeout)
  	detector.Watch("fmut", m.fmut)
  	detector.Watch("pmut", m.pmut)
  }
docs: // StartDeadlockDetector starts a deadlock detector on the models locks which
  // causes panics in case the locks cannot be acquired in the given timeout
  // period.