0

I have question I was wondering if I could set processor core affinity of a linux process using assembly program. I am using nasm for assembling. There is an interrupt for creating a process but i dont how to set core affinity. Thanx in advance.

raghu777
  • 319
  • 2
  • 11

1 Answers1

0

You are looking for the sched_setaffinity(2) system call.

Jim Garrison
  • 85,615
  • 20
  • 155
  • 190