Open MPI logo

PLPA Users' Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all PLPA Users mailing list

Subject: Re: [PLPA users] sched_getaffinity and sched_setaffinity
From: Srinivas G. (srinivasg_at_[hidden])
Date: 2009-03-05 23:36:03


> 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