code: public boolean removeWaitingWork(final T context) {
  	write.lock();
  	try {
  	    boolean result = waitingWork.remove(context);
  	    if (result) {
  		workChanged.signalAll();
  	    }
  	    return result;
  	} finally {
  	    write.unlock();
  	}
      }
docs: Removes work from the queue.
  
  @param context
  Work to remove.
  @return Whether the work was already in the queue.