Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我的程序在以参数docker run --cpuset-cpus="0"启动的容器中运行,并且它调用pthread_setaffinity_np将一个线程绑定到cpu#1,会发生什么?它会打破 docker 容器 cpuset 限制并同时使用cpu#0和cpu#1吗?