线程绑定到指定CPU

2021-08-18 21:02

阅读:852

标签:图片   open   weixin   pid   ati   load   try   com   init   参考:https://mp.weixin.qq.com/s/494wqyxyFzDuGwG_51tFbQ net.openhft affinity 3.20.0 public static void main(String[] args) { try (AffinityLock affinityLock = AffinityLock.acquireLock(3)) { // do some work while locked to a CPU. while (true) { } } } 线程绑定到指定CPU标签:图片   open   weixin   pid   ati   load   try   com   init   原文地址:https://www.cnblogs.com/lanqie/p/14912016.html


评论


亲,登录后才可以留言!