[SERVER-41130] Add support for bitwise operations on AtomicWord Created: 13/May/19 Updated: 29/Oct/23 Resolved: 22/May/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.12 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Mira Carey | Assignee: | Mira Carey |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Service Arch 2019-05-20, Service Arch 2019-06-03 |
| Participants: |
| Description |
|
AtomicWord offers a slightly less dangerous, doesn't require lint, access to std::atomic's. While that interface currently doesn't offer access to bit operations, the extra cognitive load to understand those correctly is substantially simpler than the main thing AtomicWord hides (access to non sequential consistency). Thus, let's add bitwise operators for unsigned atomic words |
| Comments |
| Comment by Githook User [ 22/May/19 ] |
|
Author: {'email': 'jcarey@argv.me', 'name': 'Jason Carey', 'username': 'hanumantmk'}Message: AtomicWord offers a slightly less dangerous, doesn't require lint, While that interface currently doesn't offer access to bit operations, Thus, let's add bitwise operators for unsigned atomic words |