#how to get amount of cpu cores for windows, mac and linux?

1 messages · Page 1 of 1 (latest)

elfin plover
#

So, im trying to make zag webserver and hardcoding amount of cpu cores whould be ok but that whould make server requests not allways run parallel, because os whould and should for cpus with lower amount of cores like 'swap threads' to make use of all of those threads making those extra threads unnecesary and it also whould allocate extra space for them.