[SERVER-52512] We should check the ThreadSafetyContext on thread creation Created: 30/Oct/20 Updated: 26/Jan/23 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Benjamin Caimano (Inactive) | Assignee: | Backlog - Service Architecture |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | ben-sa-triage | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Service Arch
|
| Participants: |
| Description |
|
We check the ThreadSafetyContext here. Unfortunately, that is already on a new thread, so the stack we produce has nothing useful in it. Compare that to here where we check before we spawn the thread. I think we should check in the stdx::thread constructor instead, either in the body or in a function invoked during lambda binding. This way, we get the stack of the main thread instead. |
| Comments |
| Comment by Lauren Lewis (Inactive) [ 18/Mar/22 ] |
|
We haven’t heard back from you for some time, so we're going to close this ticket. If this is still an issue for you, please provide additional information and we will reopen the ticket. |