nitsud

Untitled

Dec 8th, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.11 KB | None | 0 0
  1. acq(lock);
  2. check(b.f); x = b.f;
  3. rel(lock);
  4.  
  5. check(b.f); y = b.f;
  6.  
  7. acq(lock);
  8. check(b.f); z = b.f;
  9. rel(lock);
Advertisement
Add Comment
Please, Sign In to add comment