这种方法要使用在多核心的CPU上才可以的,而且要是同一类型的CPU,而不是协处理器。
要使用CPU_SET
方法:https://blog.csdn.net/christne1225i/article/details/52220177