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
what
api calls are equivalent to the windows
calls and I did search hwloc.h for "affinity" thinking the
function call
would be easy to find. More specifically
I'm wondered whats the equivalent of " CreateThread
", " SetThreadAffinityMask
",
" GetSystemInfo
", and " WaitForMultipleObjects
" in hwloc.