[SERVER-52822] Introduce ThreadContext class Created: 12/Nov/20 Updated: 29/Oct/23 Resolved: 18/Nov/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Benjamin Caimano (Inactive) | Assignee: | Benjamin Caimano (Inactive) |
| 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: | Service arch 2020-11-16, Service arch 2020-11-30 | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 0 | ||||||||||||
| Description |
|
When we introduce new thread_local variables, we often end up rewriting the same pattern to extend visibility of those variables. We could benefit from a ThreadContext decorable that does the pattern once, correctly. This class would also be a convenient place to hang thread related static functions. |
| Comments |
| Comment by Githook User [ 18/Nov/20 ] |
|
Author: {'name': 'Ben Caimano', 'email': 'ben.caimano@10gen.com'}Message: Revert " This reverts commit efa320e38916e2a4fd52d808e326af11d2b7938c. |
| Comment by Githook User [ 17/Nov/20 ] |
|
Author: {'name': 'Ben Caimano', 'email': 'ben.caimano@10gen.com'}Message: |