+ Reply to Thread
Results 1 to 2 of 2

Thread: Set process/thread to run on specific CPU

  1. #1
    Junior Member
    Join Date
    Jun 2012
    Posts
    26

    Set process/thread to run on specific CPU

    How can I set a process or a specific thread to run on specific CPU? I have CPU intensive application and I want my process/threads to use specific CPU. How can I do this in VC++?

  2. #2
    Junior Member
    Join Date
    Apr 2012
    Posts
    37
    You may use SetProcessAffinityMask or SetThreadAffinityMask to get this done.

+ Reply to Thread

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts