This web mail archive is frozen.
This page is part of a frozen web archive of this mailing list.
You can still navigate around this archive, but know that no new mails
have been added to it since July of 2016.
Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.
Le 20/09/2011 14:44, Jeff Squyres a écrit :
> 1. Is it permissible to use _PROCESS or _THREAD with get_proc_last_cpu_location() and get_proc_cpubind()? I'm thinking that it doesn't make sense to use _THREAD here, and using _PROCESS would be redundant.
That's almost true. Except that Linux has this notion of "tid" to
identify single threads. So if you pass THREAD with a thread id, you end
up doing get_cpubind/get_last_location on the corresponding single
thread (without having to use a pthread_t).
This is Linux-specific corner case, sometimes useful, but maybe not
required in the doc?
> 2. Is it permissible to use _PROCESS or _THREAD with get_last_cpu_location() and get_cpubind()?
> 3. Is it permissible to use _NOMEMBIND with any of these 4 functions? I'm guessing that it's meaningless. Should we document that this flag will be ignored, or that it is erroneous to use?
This flag is meaningless and ignored there.