swoole_server::$worker_pid
得到当前Worker进程的操作系统进程ID。与posix_getpid()的返回值相同。
int
$serv
->
worker_pid
;