Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-30738

Implement stdx::thread with control over stack sizes

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Internal Code, Networking
    • None
    • Service Arch
    • Fully Compatible
    • Dev Tools 2019-08-26, Dev Tools 2019-09-09, Dev Tools 2019-09-23, Dev Tools 2019-10-07

      We currently have two types of threads - 'normal' threads, created via std[x]::thread, and worker threads, created via launchServiceWorkerThread. The latter exists so that we can have explicit control over the worker thread stack size, which is not possible with a std::thread, or with our current implementation of stdx::thread, which is just a wrapper around std::thread.

      We should implement our own stdx::thread which also allows for explicit control over stack sizes.

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: