flush_pending(true);
}
+ /** [inboxes only], will fuse with previous instruction if it was a sendToken() */
+ public void flush() {
+ if (!dock.isInputDock()) throw new RuntimeException("flush() may only be used at input docks");
+ flush_pending();
+ instructions.add(new Instruction.Flush(dock, count!=1, predicate));
+ }
+
/** [outboxes only], will fuse with previous instruction if it was a sendToken() */
public void send(Destination dest) { send(dest, null); }
public void send(Destination dest, BitVector signal) {