Cml\Tools\Daemon\ProcessManage::setProcessName PHP Méthode

setProcessName() protected static méthode

设置进程名称
protected static setProcessName ( $title )
$title
    protected static function setProcessName($title)
    {
        $title = "cmlphp_daemon_{$title}";
        if (function_exists('cli_set_process_title')) {
            cli_set_process_title($title);
        } elseif (extension_loaded('proctitle') && function_exists('setproctitle')) {
            setproctitle($title);
        }
    }