Jump to content

raj_delphi

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. raj_delphi

    How to set omnithread affinity?

    This issue has been resolved by setting <TOtlthreadPool>.Affinity.AsMask = <affinity value>, by setting this whenever the OTLThreadPool starts is SCHEDULE, the assigned affinity take in place. and this is not resetting the system affinity as well (which I set during the start of the program)
  2. How to set the affinity for TOmniThread/TOmiTaskControl, it is keep on resetting the default affinity value (utilizing all CPU's). I tried setting Environment.Process.Affinity.AsString, but this value also keep on changing to default (255), it is happening when the OmiThread starts, I see it have many properties to set the affinity, but I'm not sure how to set it.
×