in line with Java's affinity code

see
https://github.com/peter-lawrey/Java-Thread-Affinity/commit/a9b8b461f1e92dadfd9298281bf299cb0b0c7874