Results 1 to 3 of 3

Thread: CPU-Control

  1. #1

    CPU-Control

    hello
    can someone imagine how could we benefit from running thinbasic on the second core ? , i have found a program called cpu-control from:
    http://www.koma-code.de/index.php?op...d=88&Itemid=93
    it claims that we can choose which core to run some application, as in the attached picture, on the other hand i hope windows 7 are automatically distribute tasks fairly between the multiple cores if available.
    windows xp sp2 are not aware by itself of the multi-core systems
    regards

  2. #2

    Re: CPU-Control

    attached a picture
    Attached Images Attached Images

  3. #3
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,782
    Rep Power
    10

    Re: CPU-Control

    There are some WIN API that can be sued to get/set affinity:
    GetProcessAffinityMask at http://msdn.microsoft.com/en-us/library/ms683213(VS.85).aspx
    SetProcessAffinityMask at http://msdn.microsoft.com/en-us/library/ms686223(VS.85).aspx

    Also worth to check carefully "Process Security and Access Rights" at http://msdn.microsoft.com/en-us/library/ms684880(VS.85).aspx

    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

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