Go 1.17 what’s changed sync / atomic package and CompareAndSwap

Go 1.17 sync / atomic package updates

  • Compare AndS wap
  • Swap

Even before Go 1.16, Compare And Swap (hereinafter referred to as CAS) and Swap functions were provided as int and…