> What header is required for pthread_num_processors_np? pthread.h
> Also, you should include <sys/sysctl.h> before calling sysctlbyname. On the right - yes. sysctlbyname() implicitly included in some header files.
> What header is required for pthread_num_processors_np? pthread.h
> Also, you should include <sys/sysctl.h> before calling sysctlbyname. On the right - yes. sysctlbyname() implicitly included in some header files.