开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜