您好:
core0上创建两个线程,当进入这两个线程的时候,是否可以让它们在core1和core2上运行,因为我看见taskParams.affinity是用来设置亲和性的,所以我想是否可以指定每个线程在哪个核上去运行?
谢谢!
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
您好:
core0上创建两个线程,当进入这两个线程的时候,是否可以让它们在core1和core2上运行,因为我看见taskParams.affinity是用来设置亲和性的,所以我想是否可以指定每个线程在哪个核上去运行?
谢谢!