We should check the ThreadSafetyContext on thread creation

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Server Programmability
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Unassigned
              Reporter:
              Benjamin Caimano (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: