diff options
| author | Rochet2 <rochet2@post.com> | 2017-03-17 20:09:58 +0200 |
|---|---|---|
| committer | Aokromes <aokromes@gmail.com> | 2017-08-08 22:52:55 +0200 |
| commit | 0a3e2339ef8763bf4d77b1071619da5ff3469da0 (patch) | |
| tree | a0a2cbad00ea1d02cba930792748c7f37e9dc754 /src/server/game/AI/SmartScripts | |
| parent | 4f43f4d72f10cf1f4e522979f1050e5141c226c2 (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/AI/SmartScripts')
0 files changed, 0 insertions, 0 deletions
