nice#

Adjust the current process’s scheduling niceness by $incr.

תקציר#

POSIX::nice(5);   # lower priority

מה מוחזר#

The new niceness value. When the new value genuinely is 0, returns the string "0 but true" to distinguish it from error. On error, returns undef and sets $!.

מקרי קצה#

  • Positive increments lower priority; only root can pass negative values to raise priority.

הבדלים מן ה-upstream#

Fully compatible with upstream POSIX.