3

Is there a way to get a unique ID for the core that is executing the current thread?

On OSX x86, the cpuid CPU instruction could be used but that doesn't work on Apple Silicon like the M1 which is based on ARMv8.

BeeOnRope
  • 60,350
  • 16
  • 207
  • 386

0 Answers0