[SERVER-21097] Replace all uses of std::atomic with AtomicWord and add a lint rule Created: 23/Oct/15 Updated: 25/Jan/17 Resolved: 24/May/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 3.2.0-rc1 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Andy Schwerin | Assignee: | Andy Schwerin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Participants: |
| Description |
|
AtomicWord<T> is the stylish way to work with atomic word types, rather than std::atomic, because it omits confusing implicit type conversions. This ticket is to add a lint rule to prohibit std::atomic and remove existing uses. |
| Comments |
| Comment by Githook User [ 23/Oct/15 ] |
|
Author: {u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}Message: |
| Comment by Githook User [ 23/Oct/15 ] |
|
Author: {u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}Message: |