I want to detect the number of processors in the computer. I know that I can use MPProcessors(), but does anyone know of any way in which I can detect the number of processors WITHOUT loading the stupid MP library? It seems like there should be a simple function to do so. I'm not going to use the MP library, I'm going to use pthreads to spin off new threads, so I don't see any reason why I should load the entire MP library just to use one stupid function once.