Taylor Richards
d055d03e53
get proper number of physical cpu cores on macOS ( #6835 )
...
* get proper number of physical cpu cores on macOS
macOS has an easy way to get the physical cpu count so let's use it. Also with
Apple Silicon there are performance and efficiency cores so we need to make
sure we ignore those low-perf cores when getting the count.
* improve error handling
2025-07-14 13:41:36 -04:00
BMagnu
4c80ad7243
Fix Thread Count Detection on Windows ( #6834 )
2025-07-14 14:01:24 +00:00
BMagnu
53394093a4
Limit the number of threads spawned ( #6833 )
...
* Limit the number of threads spawned
* Conversion on msvc
2025-07-14 22:14:40 +09:00
BMagnu
6c35dac535
Allow autodetection of number of cores for threading ( #6824 )
...
* Allow autodetection of threads
* cleanup
2025-07-12 22:19:23 +02:00
BMagnu
bdde909fa6
Threading Framework & Threaded Collisions ( #6814 )
...
* Dispatch ship weapon collisions and defer handling
* multithread ship weapon collision
* properly spin
* proper memory order
* externalize generic threadpool settings
* Wait for threads to shut down
* Add result pipelining
* cleanup
* incorrect nullopt type
* randomrange todo
* parallelize ship ship collisions
* bogus debug return
* remove warnings
* clang tidy
2025-07-12 11:41:30 +02:00