add swoole_cpu_num function for cpu_affinity, then you can do like nginx...

add swoole_cpu_num function for cpu_affinity, then you can do like nginx worker_num auto