Is there a Windows API or any way to determine on which physical processor/core my current thread runs? I don't need that information. I'm just curious.
Edit: I'm not interested in the processors the thread is allowed to run on. I would like to know on exactly which one it currently runs. I know that the threads switch pretty fast from one to another...