jill/src/main/java/io/github/agentsoz/jill/lang/Agent.java
private void post(Stack255 stack, Goal goal) {
    synchronized (stack) {
      logger.debug("{} posting goal {}", Log.logPrefix(getId()), goal.getClass().getSimpleName());
      stack.push(goal);
      Main.setAgentIdle(getId(), false);
    }
    Main.flagMessageTo(Main.poolid(getId()));
  }
private void post(Stack255 stack, Goal goal) {
    synchronized (stack) {
      logger.debug("{} posting goal {}", Log.logPrefix(getId()), goal.getClass().getSimpleName());
      stack.push(goal);
      Main.setAgentIdle(getId(), false);
    }
    Main.flagMessageTo(Main.poolid(getId()));
  }
Push the given goal to the given stack.
@param stack the stack to push to new goal to
@param goal the goal to push