Created
July 29, 2017 04:08
-
-
Save shixzie/c4922f6c881077cef4bd54455316165d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func Add<T>(addr *T, delta T) (new T) | |
func CompareAndSwap<T>(addr *T, old, new T) (swapped bool) | |
func Load<T>(addr *T) (val T) | |
func Store<T>(addr *T, val T) | |
func Swap<T>(addr *T, new T) (old T) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment