Open MPI logo

Hardware Locality Users' Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Users mailing list

Subject: Re: [hwloc-users] Windows api threading functions equivalent to hwloc?
From: Samuel Thibault (samuel.thibault_at_[hidden])
Date: 2012-11-20 12:00:00


Samuel Thibault, le Tue 20 Nov 2012 17:58:45 +0100, a écrit :
> Andrew Somorjai, le Tue 20 Nov 2012 09:45:12 +0100, a écrit :
> > I'm also confused about these two lines and whether its necessary for the second one to exist?
> >
> > HANDLE thread[num_threads];
> > HANDLE pthread_getw32threadhandle_np(thread);
> >
> > Does the second api call fill the thread array or just the first element?
>
> It does not fill anything, it returns the converted value.

(and just the element that you pass)

Samuel