Mono Class Library: Mono.Unix.UnixEnvironment Overview | Members

Mono.Unix.UnixEnvironment.SetNiceValue Method

Subtraces inc from the process' priority.

public static void SetNiceValue (int inc)

See Also

Mono.Unix.Native.Syscall.nice

Parameters

inc
A int containing the value to add to the current process' nice value.

Exceptions

TypeReason
Mono.Unix.UnixIOExceptioninc is negative but the caller is not the super-user. [Mono.Unix.Native.Errno.EPERM]

Remarks

The process' nice value is a value subtraced from the process' priority. The higher the value of inc, the lower the priority of the process

Requirements

Namespace: Mono.Unix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0