NUMA-aware mapping:

Added support for NUMA-aware mapping of threads.