docs: public void signal(boolean signal_all) {
          lock.lock();
          try {
              if(signal_all)
                  cond.signalAll();
              else
                  cond.signal();
          }
          finally {
              lock.unlock();
          }
      }