code: @Override
     public void wantWrite()
     {
        try {
          int fd = stdin.acquire();
          if (fd != -1) {
            userWantsWrite.set(true);
            myProcessor.queueWrite(this);
          }
          else {
            throw new IllegalStateException("closeStdin() method has already been called.");
          }
        } finally {
          stdin.release();
        }
     }
docs: {@inheritDoc}