diff options
author | Rochet2 <rochet2@post.com> | 2017-03-17 20:09:58 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2017-03-17 19:09:58 +0100 |
commit | 769bc15ba06d5192289ea4ffd8067ca80f5e26b9 (patch) | |
tree | 2a3cca811e758d1fdf341db6aaecc1f42095f38f /src/server/game/Scripting/ScriptMgr.cpp | |
parent | c7ea1b97c239788a18752549ba34d0565f61ffe9 (diff) |
Tools/MMapsGenerator: Use system supported threads instead of hardcoded amount (#19255)
- Use unsigned int for thread count
- Use std::thread::hardware_concurrency() to try estimate available threads instead of hardcoded 3 threads by default
- Print thread count always regardless of using --threads switch or not
Diffstat (limited to 'src/server/game/Scripting/ScriptMgr.cpp')
0 files changed, 0 insertions, 0 deletions