Created
July 29, 2017 04:08
-
-
Save shixzie/c4922f6c881077cef4bd54455316165d to your computer and use it in GitHub Desktop.
Revisions
-
shixzie created this gist
Jul 29, 2017 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ 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)