-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Server Programmability
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.