Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

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.

Subject: Re: [hwloc-devel] get cpu where a process/thread is executing
From: Samuel Thibault (samuel.thibault_at_[hidden])
Date: 2011-02-12 17:41:51

Samuel Thibault, le Sat 12 Feb 2011 23:24:15 +0100, a écrit :
> For the windows case, could you just put a "TODO: use
> GetCurrentProcessorNumber" comment?

For the AIX case, please put a "TODO: use mycpu()" comment.
For the freebsd case, please put a "TODO: find out ki_lastcpu" comment.

That makes me thing that maybe get_lastcpuexec might be better at
expressing that the value is potentially out of date as soon as it