* Creates a new variable blocking the specified number of readers.
*
* @param parties Number of readers that have to match a writer before the message gets transferred
*/
public SyncDataflowVariable(final int parties) {
this.parties = new ResizeableCountDownLatch(parties);
}