(PHP 5, PHP 7)
pcntl_setpriority — 锟睫革拷锟斤拷锟斤拷锟斤拷痰锟斤拷锟斤拷燃锟�
$priority
[, int $pid
= getmypid()
[, int $process_identifier
= PRIO_PROCESS
]] ) : bool
pcntl_setpriority() 锟斤拷锟矫斤拷锟教猴拷为
pid
锟侥斤拷锟教碉拷锟斤拷锟饺硷拷锟斤拷
priority
priority
通锟斤拷时-20锟斤拷20锟斤拷锟斤拷锟轿э拷诘锟街碉拷锟侥拷锟斤拷锟斤拷燃锟斤拷锟�0,值越小锟斤拷锟斤拷
锟斤拷锟饺硷拷越锟竭★拷锟斤拷锟节诧拷同锟斤拷系统锟斤拷锟斤拷锟皆硷拷锟节核版本锟斤拷锟斤拷锟饺硷拷锟斤拷锟杰诧拷同锟斤拷锟斤拷锟斤拷锟轿匡拷锟斤拷系统锟斤拷setpriority锟斤拷2锟斤拷
锟街诧拷锟皆伙拷取锟斤拷细锟侥规范锟斤拷
pid
锟斤拷锟矫伙拷锟街革拷锟斤拷锟侥拷锟斤拷堑锟角帮拷锟斤拷痰慕锟斤拷毯拧锟�
process_identifier
PRIO_PGRP
锟斤拷锟斤拷注锟斤拷锟斤拷取锟斤拷锟斤拷锟斤拷锟斤拷锟饺硷拷锟斤拷, PRIO_USER
锟斤拷锟斤拷注锟斤拷锟斤拷取锟矫伙拷锟斤拷锟斤拷锟斤拷锟饺硷拷锟斤拷锟斤拷 PRIO_PROCESS锟斤拷锟斤拷注锟斤拷默锟斤拷值;锟斤拷取锟斤拷锟斤拷锟斤拷锟饺硷拷锟斤拷
锟斤拷锟斤拷之一锟斤拷
锟缴癸拷时锟斤拷锟斤拷 TRUE
锟斤拷 锟斤拷锟斤拷锟斤拷失锟斤拷时锟斤拷锟斤拷 FALSE
锟斤拷