Below I posted a simple windows thread creation C++ routine
which sets the processor affinity to two cores.
What I want is the equivalent code using
hwloc. Sorry for being somewhat new to this but I'm not sure
api calls are equivalent to the windows
calls and I did search hwloc.h for "affinity" thinking the
would be easy to find. More specifically
I'm wondered whats the equivalent of " CreateThread
", " SetThreadAffinityMask
", and " WaitForMultipleObjects
" in hwloc.