private Thread startAThread(final CountDownLatch latch) {
    Thread thread = new Thread() {
      @Override
      public void run() {
        try {
          latch.await();
        } catch (InterruptedException ignore) {
        }
      }
    };

    thread.start();

    return thread;
  }
Test that the deadlock detector will find deadlocks that are reported by the
{@link DependencyMonitorManager}
geode-core/src/distributedTest/java/org/apache/geode/distributed/internal/deadlock/DeadlockDetectorTest.java