Add a callback to the ThreadPool options to create a thread client using the RAII Client helper

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Storage NYC 2018-11-05, Storage NYC 2018-11-19
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      With the introduction of the RAII Client helper class in SERVER-36473, we can further remove any references to Client::initThread or Client::initThreadIfNotAlready in the ThreadPool's onCreateThread callback.

      Furthermore we can remove more unmanaged Client instances and replace them with the RAII Client helper for those that are in similarly structured ways as ThreadPools, such as stdx::thread and stdx::packaged_task.

            Assignee:
            Gregory Wlodarek
            Reporter:
            Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: