Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ASSINGMENT 10 #157

Open
HyeongMee opened this issue Jun 15, 2015 · 1 comment
Open

ASSINGMENT 10 #157

HyeongMee opened this issue Jun 15, 2015 · 1 comment

Comments

@HyeongMee
Copy link

Hi!

  1. I heard from professor that he had delayed the delay due of homework 10, 11, 12, but I can't find any official notice about that. Could you tell me where I can find a notice about it? (It's really delayed, right?)
  2. What's the meaning of PAR .... END? paranthesis?

THANKS.......TT

@jaewooklee93
Copy link

PAR c1 WITH c2 END is a parallel execution. It means executing two programs c1,c2 at the same time. However, you can't determine the execution order of two programs. For example, the parallel program

X=0;
Y=X;
WITH
X=1;

has multiple possible final results.
The following three cases are all feasible.

X=0; Y=X; X=1; // X=1, Y=0

X=0; X=1; Y=X; // X=1, Y=1

X=1; X=0; Y=X; // X=0, Y=0

Assignment asked you to prove the existence of possibility of specific cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants