Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

320
Views
How to set the processor affinity of a managed thread?

I am looking for a way to set the processor affinity of a thread created in managed code by the System.Thread class. I see that ProcessThread has a ProcessorAffinity property that I understand can be used to set a thread's affinity, however, I do not see a straightforward way to set the affinity of a System.Thread. The property ManagedThreadId cannot be used to identify a process thread found in the Process.Threads, it seems that the ProcessThread.Id is the id of an unmanaged thread (are they the same???).

Any suggestions would be greatly appreciated! I would have thought that this would have been easy.

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!