Advertisement
Guest User

Untitled

a guest
Oct 28th, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. a
  2.  
  3. if notified_u = false then
  4. perform procedure Notify_u;
  5. end if
  6. send <done> to v;
  7.  
  8.  
  9. if requests_u > 0 then
  10. requests_u ← requests_u - 1;
  11. if requests_u = 0 then
  12. perform procedure Grant_u;
  13. end if
  14. end if
  15. send <ack> to v;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement