新增于: v10.10.0
返回由 pid 指定的进程的调度优先级。
如果未提供 pid 或为 0,则返回当前进程的优先级。
Added in: v10.10.0
pid <integer> The process ID to retrieve scheduling priority for.
Default: 0.
- Returns: <integer>
Returns the scheduling priority for the process specified by pid. If pid is
not provided or is 0, the priority of the current process is returned.