Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void executedOnCpu0() {
- value = 10;
- finished = true;
- }
- void executedOnCpu1() {
- while(!finished);
- assert value == 10;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement