-
Type: Improvement
-
Resolution: Won't Do
-
Priority: 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.
- is related to
-
SERVER-15902 use signal handling stack via sigaltstack to improve behavior on stack overflow
- Closed
-
SERVER-35542 Configurable service worker thread stack size
- Closed
- related to
-
SERVER-69905 Improve ServiceExecutorSynchronous worker threads
- Backlog