[SERVER-21541] Add a platform-independent wrapper around x86 pause workalikes Created: 18/Nov/15 Updated: 26/Apr/16 Resolved: 18/Apr/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Portability |
| Affects Version/s: | None |
| Fix Version/s: | 3.3.5 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Mathias Stearn | Assignee: | Mark Benvenuto |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Platforms 13 (04/22/16) |
| Participants: |
| Description |
|
Currently used by non-Windows implementation of SpinLock. Should also use _mm_pause() intrinsic on x86 rather than inline asm so that it works on MSVC. |
| Comments |
| Comment by Githook User [ 18/Apr/16 ] |
|
Author: {u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}Message: |