681 views
0 votes
0 votes

KINDLY SOMEONE POINT OUT MY MISTAKE. I FEEL PAREND ,PARBEGIN CONSTRUCTS CAN BE USED FOR S1 AND S2. BUT ONE SOLUTION BOOK IS SHOWING DIFFERENT PRECEDENCE GRAPH.THERE IT IS EVEN SAID WE CANT USE PARBEG ,PAREND 

HERE IS MY PRECEDENCE GRAPH

I AM VERY CONFUSED OVER THIS.PLEASE HELP ME. I FEEL S1 AND S2 CAN BE CONCURRENT AS THEY DEAL WITH DIFFERENT VARIABLE. THEN WE SHOULD BE ABLE TO USE PARBEG AND PAREND FOR THEM .PLZZ HELP  AND RECTIFY ME

1 Answer

0 votes
0 votes
i think this is the right answer . can u plz post a copy of the solution provided,. what they have told u about the answer. ??

Related questions

0 votes
0 votes
1 answer
1
N3314nch41 asked Sep 10, 2023
366 views
How to approach synchronization (specifically semaphore) question, there size are really intimidating and i’m unable to decode the code written? What to do??