SHARE
TWEET

Untitled

a guest Jul 15th, 2019 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @safe void main()
  2. {
  3.     shared int x;
  4.     sync_set(&x, 22);
  5. }
  6.  
  7. @safe void sync_set(scope shared int* x, int value)
  8. {
  9.     //...
  10. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top