> For POSIX threads there is this API:
>
> pthread_attr_getaffinity_np(3)
> pthread_attr_setaffinity_np(3)
> pthread_getaffinity_np(3)
> pthread_setaffinity_np(3)
>
> Which takes a pthread_t or pthread_attr_t as argument, respectively.
>
> Bert
Dear Bert,
Thanks a lot for the right information. I did it.
(Which takes a pthread_attr_t or pthread_t as argument, respectively.)
Thanks and Regards,
Srinivas G
|