[SERVER-49848] Add interface to check single-threaded context Created: 23/Jul/20 Updated: 29/Oct/23 Resolved: 24/Jul/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.7.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Amirsaman Memaripour | Assignee: | Amirsaman Memaripour |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Evergreen 2020-07-27 | ||||||||
| Participants: | |||||||||
| Description |
|
We use ThreadSafetyContext (defined here) to enforce execution of certain initialization methods in a single-threaded context. We should introduce a new interface (by extending ThreadSafetyContext) that allows checking whether the current execution context is single-threaded. |
| Comments |
| Comment by Githook User [ 24/Jul/20 ] |
|
Author: {'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@mongodb.com', 'username': 'samanca'}Message: |