Does set affinity ensure that only one core resources are used?
开发者_StackOverflow中文版I just wanted to find out if setting cpu affinity ensure that the application runs only on that core ?
Yes, that's what affinity masks are for. However you need this very rarely. The only reasonable use case I can imagine is restricting the number of cores depending on the end-user license agreement.
精彩评论