Samuel Thibault, le Mon 06 Jan 2014 18:07:59 +0100, a écrit :
> Eloi Gaudry, le Mon 06 Jan 2014 17:16:53 +0100, a écrit :
> > the PID of the process. I was assuming that casting this member to a HANDLE object would allow me to use hwloc_get_proc_cpubind,
Let me fix my typos:
No, PIDs are mere numbers, they have nothing to do with HANDLEs. More
interestingly, PID values are valid along the whole system, while
HANDLE values are only valid within a given process. You have to use
OpenProcess(), to create a HANDLE from a PID value.