542 views

Draw the precedence graph for the concurrent program given below

S1
parbegin
begin
S2:S4
end;
begin
S3;
parbegin
S5;
begin
S6:S8
end
parend
end;
S7
parend;
S9

parbegin-parend shows parallel execution while begin-end shows serial execution

selected by
please explain procedure of drawing that instead of directly drawing it , thanks
There should be a begin before S1 and end after S9 right ...? If not given, should we take it defaultly ...???

12.a) picture will be like above. Here perbegin-perend creates when there are more than one child processes, and begin-end creates  a process