#define_GNU_SOURCE#include<sched.h>#include<stdio.h>#include<stdlib.h>#include<sys/wait.h>#include<unistd.h>#defineerrExit(msg) \ do { \ perror(msg); \ exit(EXIT_FAILURE); \ } while (0)intmain(intargc,char*argv[]){cpu_set_t set;intparentCPU,childCPU,wstatus;longnloops;if(arg...