Files @ ef64fd0cdb07
Branch filter:

Location: CSY/reowolf/testdata/parser/positive/11.pdl

Christopher Esterhuyse
correctly merging protocol component branches: forks that create existing predicates MERGE the results, combining their inboxes s.t. there is no race condition on the order of received messages
#version 100

primitive main(in a, out b) {
	msg x = null;
	while (x == null) {
		synchronous {
			if (fires(a))
				x = get(a);
		}
	}
	while (true) {
		synchronous {
			if (fires(b))
				put(b, x);
		}
	}
}