Skip to content
Snippets Groups Projects
Commit 97f38c38 authored by Giammarco, Kristin M's avatar Giammarco, Kristin M
Browse files

Upload New File

parent 049cbb83
No related branches found
No related tags found
No related merge requests found
/* Synchronized coordination for iteration cycles adding
precedence relation only for events that appear in the
same cycle (MP Manual section 4.8)
SCHEMA S2
ROOT R1: (+ (A | B) C +);
ROOT R2: (+ (D | E) F +); */
COORDINATE $a: (A | B) FROM R1,
$d: (D | E) FROM R2
DO
IF $a IS A AND $d IS D OR $a IS B AND $d IS E THEN
/* This pair is selected from the same cycle,since the
default event sequence is used for coordination threads */
ADD $a PRECEDES $d;
ELSE REJECT; /* otherwise reject the trace under derivation */
FI;
OD;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment