Setting CPU affinity

Is there a standard safe way to set affinity per thread?

Use the core_affinity crate.

1 Like

Any plans to provide something like that in the standard library that you know of?

No, it's unlikely that we will ever have this in the standard library.

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.