An entirely too long deep-dive about how your user-space process can "know" on which CPU core it's running.

$e^{i\pi }+1=0$