Is there a way to set cpu affinity for a thread in linux to "follow" main thread?`

Viewed 263

Is it possible to instruct linux to spawn a worker thread, but multiplex it on the same CPU as the parent, without pinning both to a particular CPU?

1 Answers
Related