protected static function getAllWorkerPids()
    {
        $pid_array = array();
        foreach (static::$_pidMap as $worker_pid_array) {
            foreach ($worker_pid_array as $worker_pid) {
                $pid_array[$worker_pid] = $worker_pid;
            }
        }
        return $pid_array;
    }
protected static function getAllWorkerPids()
    {
        $pid_array = array();
        foreach (static::$_pidMap as $worker_pid_array) {
            foreach ($worker_pid_array as $worker_pid) {
                $pid_array[$worker_pid] = $worker_pid;
            }
        }
        return $pid_array;
    }
protected static function getAllWorkerPids ( ) { $ pid_array = array ( ) ; foreach ( static :: $ _pidMap as $ worker_pid_array ) { foreach ( $ worker_pid_array as $ worker_pid ) { $ pid_array [ $ worker_pid ] = $ worker_pid ; } } return $ pid_array ; }
Get all pids of worker processes.

@return array
Get all pids of worker processes .