How do I retrieve the number of processors on C / Linux?
I am writing a small C application that use some threads for processing data. I want to be able to know the number of processors on a certain machine, without using system() & in combination to a
问答
阅读(2)