Akshay Shah
|
7afff28c37
|
Add an atomic Boolean type (#4)
* Add an atomic Boolean type
Fixes #2.
* Feedback from CR
- Rename Swap to Toggle
- Add a more Swap-like Swap
* Add boolToInt helper
|
2016-05-30 11:10:24 -07:00 |
|
Akshay Shah
|
2051a605b9
|
Add a Sub method to atomics (#5)
* Add a Sub method to atomics
Fixes #3.
* Invert integer sign without multiplying
|
2016-05-28 22:54:33 -07:00 |
|
Prashant Varanasi
|
928a9d776b
|
Import atomic package
The code is the same as github.com/uber/tchannel-go/atomic
|
2016-05-25 11:04:20 -07:00 |
|