How can you find the processor number a thread is running on?

前端 未结 5 1159
我在风中等你
我在风中等你 2020-12-15 22:15

I have a memory heap manager which partitions the heap into different segments based on the number of processors on the system. Memory can only be allocated on the partitio

5条回答
  •  粉色の甜心
    2020-12-15 22:37

    For XP, a quick google as revealed this: https://www.cs.tcd.ie/Jeremy.Jones/GetCurrentProcessorNumberXP.htm Does this help?

提交回复
热议问题