Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Jan 2008
Linux library reqd for "pthread_setaffinity_np"
I'm using a quad processor system. I want a program running on my PC having four threads and each of them running on different processors.
I'm using function "pthread_setaffinity_np" for that. while compiling, it gives an error saying "undefined reference to : pthread_setaffinity_np"
Can anyone tell me which library should be included for "pthread_setaffinity_np" ?
Thanks in advance...