How to get the number of CPUs in Linux using C? How to get the number of CPUs in Linux using C? multithreading multithreading